From 377475d0824d0ddc73ed5d9542e433ea3ec10642 Mon Sep 17 00:00:00 2001 From: Brady Fomegne Date: Wed, 29 Apr 2026 19:17:36 +0100 Subject: [PATCH 1/3] fix github page deploy --- .github/workflows/hugo.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 8cca8fd..5254ec9 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -99,6 +99,13 @@ jobs: needs: build if: github.ref == 'refs/heads/main' steps: + - name: Download artifact + uses: actions/download-artifact@v5 + with: + name: page + - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 + id: deployment + uses: actions/deploy-pages@v4 + with: + folder: . From 0788bc0c587287117f67094ab93d921e6ef22caa Mon Sep 17 00:00:00 2001 From: Brady Fomegne Date: Wed, 29 Apr 2026 19:45:19 +0100 Subject: [PATCH 2/3] update --- .github/workflows/hugo.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 5254ec9..9d30d16 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -97,15 +97,15 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build - if: github.ref == 'refs/heads/main' + # if: github.ref == 'refs/heads/main' steps: - name: Download artifact - uses: actions/download-artifact@v5 - with: - name: page + uses: actions/download-artifact@v5 + with: + name: page - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v4 - with: - folder: . + id: deployment + uses: actions/deploy-pages@v4 + with: + folder: . From fe663c76e7ae102f49f453f043e5527e1f3c9d78 Mon Sep 17 00:00:00 2001 From: Brady Fomegne Date: Wed, 29 Apr 2026 19:47:13 +0100 Subject: [PATCH 3/3] final --- .github/workflows/hugo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 9d30d16..88ce5da 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -97,7 +97,7 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest needs: build - # if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/main' steps: - name: Download artifact uses: actions/download-artifact@v5