From f688d73fa32bbdaa0a229a945ebd4c78b3bb6f61 Mon Sep 17 00:00:00 2001 From: n-peugnet Date: Sat, 26 Mar 2022 22:03:05 +0100 Subject: only run workflow on main branch --- .github/workflows/build.yml | 5 ++++- .gitignore | 4 ++++ 2 files changed, 8 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3