We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ebe199 + 05a5d86 commit c7b9d98Copy full SHA for c7b9d98
.github/workflows/hugo.yaml
@@ -49,11 +49,15 @@ jobs:
49
hugo \
50
--gc \
51
--minify \
52
- --baseURL "${{ steps.pages.outputs.base_url }}/"
+ --baseURL "${{ steps.pages.outputs.base_url }}/"
53
+ - name: Check public folder exists
54
+ run: test -d public && echo "Public folder exists" || (echo "Public folder missing" && exit 1)
55
- name: Upload artifact
56
uses: actions/upload-artifact@v4
57
with:
58
+ name: github-pages
59
path: ./public
60
+
61
62
deploy:
63
environment:
@@ -64,7 +68,7 @@ jobs:
64
68
steps:
65
69
- name: Deploy to GitHub Pages
66
70
id: deployment
67
- uses: actions/deploy-pages@v3
71
+ uses: actions/deploy-pages@v4 # Ensure this is the latest version
72
73
token: ${{ secrets.GITHUB_TOKEN }}
74
env:
0 commit comments