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