chore(ci): fix .ref-reference
See https://docs.github.com/en/actions/reference/context-and-expression-syntax-for-github-actions#github-context
This commit is contained in:
parent
137977cf3c
commit
de29d1bd1f
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -25,7 +25,7 @@ jobs:
|
||||||
run: hugo --minify --gc --source ./exampleSite --baseURL https://janraasch.github.io/hugo-scroll/
|
run: hugo --minify --gc --source ./exampleSite --baseURL https://janraasch.github.io/hugo-scroll/
|
||||||
|
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
if: github.event_name == 'push' && github.event.ref == 'master'
|
if: github.event_name == 'push' && github.ref == 'master'
|
||||||
uses: peaceiris/actions-gh-pages@v3
|
uses: peaceiris/actions-gh-pages@v3
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
Loading…
Reference in a new issue