fix: explicitly set root as current directory to fix ignore files

hugo
Jacky Zhao 3 years ago
parent 73e526a7d5
commit e06e341468

@ -17,6 +17,7 @@ jobs:
index: true index: true
input: content input: content
output: static output: static
root: .
- name: Setup Hugo - name: Setup Hugo
uses: peaceiris/actions-hugo@v2 uses: peaceiris/actions-hugo@v2
@ -33,4 +34,4 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }} github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public publish_dir: ./public
publish_branch: master # deploying branch publish_branch: master # deploying branch
cname: quartz.jzhao.xyz cname: quartz.jzhao.xyz

Loading…
Cancel
Save