mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Fix master ref in if condition of deploy job
This commit is contained in:
9
.github/workflows/build-site.yml
vendored
9
.github/workflows/build-site.yml
vendored
@@ -66,18 +66,11 @@ jobs:
|
||||
- run: bin/misspell -error blog/content
|
||||
name: "Check for common typos"
|
||||
|
||||
__debug:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build_site, check_spelling]
|
||||
|
||||
steps:
|
||||
- run: echo ${{ github.ref }}
|
||||
|
||||
deploy_site:
|
||||
name: "Deploy Generated Site"
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build_site, check_spelling]
|
||||
if: github.ref == 'master' && github.event_name == 'push'
|
||||
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
|
||||
|
||||
steps:
|
||||
- name: "Download Generated Site"
|
||||
|
||||
Reference in New Issue
Block a user