aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2022-03-26 22:03:05 +0100
committern-peugnet <n.peugnet@free.fr>2022-03-26 22:03:05 +0100
commitf688d73fa32bbdaa0a229a945ebd4c78b3bb6f61 (patch)
tree75f5c1f6cbd2b35c7834be7e3dc669a232422215
parent5ce7320245b524213c73c6e597cef4ecd67abe54 (diff)
downloadclub1-docs-f688d73fa32bbdaa0a229a945ebd4c78b3bb6f61.tar.gz
club1-docs-f688d73fa32bbdaa0a229a945ebd4c78b3bb6f61.zip
only run workflow on main branch
-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