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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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