Skip to content

Commit c7b9d98

Browse files
authored
Merge pull request #70 from LABHDUFBA/thibauteste
novo teste, com feedbacks gpt.
2 parents 5ebe199 + 05a5d86 commit c7b9d98

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/hugo.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,15 @@ jobs:
4949
hugo \
5050
--gc \
5151
--minify \
52-
--baseURL "${{ steps.pages.outputs.base_url }}/"
52+
--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)
5355
- name: Upload artifact
5456
uses: actions/upload-artifact@v4
5557
with:
58+
name: github-pages
5659
path: ./public
60+
5761

5862
deploy:
5963
environment:
@@ -64,7 +68,7 @@ jobs:
6468
steps:
6569
- name: Deploy to GitHub Pages
6670
id: deployment
67-
uses: actions/deploy-pages@v3
71+
uses: actions/deploy-pages@v4 # Ensure this is the latest version
6872
with:
6973
token: ${{ secrets.GITHUB_TOKEN }}
7074
env:

0 commit comments

Comments
 (0)