aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/build.yml5
-rw-r--r--.gitignore4
2 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d2aee7f..b9cea54 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -1,6 +1,9 @@
name: build
-on: push
+on:
+ push:
+ branches:
+ - main
jobs:
sphinx:
diff --git a/.gitignore b/.gitignore
index f7a958c..fee9244 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,7 @@
_build
*.mo
.doctrees
+
+# Editor files
+.*.swp
+.vscode