From 46adcf8fe25369708979d6de63618580145f01f1 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Wed, 9 Sep 2020 16:10:35 +0200 Subject: [PATCH] chore(docs): only deploy on master branch (#718) --- .github/workflows/docs.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index f2aec3363..04a301946 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -3,7 +3,6 @@ on: push: paths: - 'site/**' - - 'docs/**' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} @@ -31,10 +30,7 @@ jobs: name: Deploy needs: builddocs runs-on: ubuntu-latest - # defaults: - # run: - # working-directory: ./site - # if: github.ref == 'refs/heads/master' + if: github.ref == 'refs/heads/master' steps: - name: Checkout Repo uses: actions/checkout@master