chore(docs): only deploy on master branch (#718)

This commit is contained in:
Florian Forster
2020-09-09 16:10:35 +02:00
committed by GitHub
parent 773750481f
commit 46adcf8fe2

View File

@@ -3,7 +3,6 @@ on:
push: push:
paths: paths:
- 'site/**' - 'site/**'
- 'docs/**'
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -31,10 +30,7 @@ jobs:
name: Deploy name: Deploy
needs: builddocs needs: builddocs
runs-on: ubuntu-latest runs-on: ubuntu-latest
# defaults: if: github.ref == 'refs/heads/master'
# run:
# working-directory: ./site
# if: github.ref == 'refs/heads/master'
steps: steps:
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@master uses: actions/checkout@master