Fix master ref in if condition of deploy job

This commit is contained in:
Philipp Oppermann
2019-10-02 11:03:48 +02:00
parent 30752f53b8
commit f5ef5d3222

View File

@@ -66,18 +66,11 @@ jobs:
- run: bin/misspell -error blog/content - run: bin/misspell -error blog/content
name: "Check for common typos" name: "Check for common typos"
__debug:
runs-on: ubuntu-latest
needs: [build_site, check_spelling]
steps:
- run: echo ${{ github.ref }}
deploy_site: deploy_site:
name: "Deploy Generated Site" name: "Deploy Generated Site"
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [build_site, check_spelling] needs: [build_site, check_spelling]
if: github.ref == 'master' && github.event_name == 'push' if: github.ref == 'refs/heads/master' && github.event_name == 'push'
steps: steps:
- name: "Download Generated Site" - name: "Download Generated Site"