Skip to content

Commit

Permalink
chore: fix hugo
Browse files Browse the repository at this point in the history
  • Loading branch information
StfBauer committed Nov 20, 2024
1 parent dde1850 commit 037a14a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ jobs:
echo "Error: Hard links found in the public directory."
exit 1
fi
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: site
path: ./public

deploy:
environment:
Expand Down Expand Up @@ -102,13 +107,8 @@ jobs:
echo "Error: Hard links found in the public directory."
exit 1
fi
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./public
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/upload-pages-artifact@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
artifact_name: site
path: ./public

0 comments on commit 037a14a

Please # to comment.