Chore: use itsblue.dev/actions/codeberg-pages-deploy@v1
All checks were successful
/ build (push) Successful in 2m4s
All checks were successful
/ build (push) Successful in 2m4s
This commit is contained in:
parent
4ea8624923
commit
94f014b384
1 changed files with 8 additions and 6 deletions
|
@ -28,10 +28,12 @@ jobs:
|
||||||
npm i
|
npm i
|
||||||
hugo --minify
|
hugo --minify
|
||||||
|
|
||||||
- name: Deploy
|
- name: Setup Go
|
||||||
uses: https://github.com/peaceiris/actions-gh-pages@v3
|
uses: actions/setup-go@v3
|
||||||
if: github.ref == 'refs/heads/main'
|
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
go-version: "1.21"
|
||||||
publish_dir: ./public
|
|
||||||
publish_branch: pages
|
- name: Deploy
|
||||||
|
uses: https://itsblue.dev/actions/codeberg-pages-deploy@v1
|
||||||
|
with:
|
||||||
|
folder: ./public
|
||||||
|
|
Loading…
Reference in a new issue