From 94f014b38461f91e07f1d44334ce723bd01d9657 Mon Sep 17 00:00:00 2001 From: Dorian Zedler Date: Sat, 9 Sep 2023 12:23:12 +0200 Subject: [PATCH] Chore: use itsblue.dev/actions/codeberg-pages-deploy@v1 --- .forgejo/workflows/deploy.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 7ed97dc..86a6500 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -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