From e6b48935404456d7f57da010843e87c153535e04 Mon Sep 17 00:00:00 2001 From: Alan Youngblood Date: Fri, 12 Apr 2024 12:15:13 -0400 Subject: [PATCH] gitea action hugo2netlify setup-go fixed3 --- .gitea/workflows/hugo2netlify.yaml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/hugo2netlify.yaml b/.gitea/workflows/hugo2netlify.yaml index d3efe8f..300cbed 100644 --- a/.gitea/workflows/hugo2netlify.yaml +++ b/.gitea/workflows/hugo2netlify.yaml @@ -10,15 +10,20 @@ jobs: name: "Deploy Hugo site to Netlify" steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v4 with: - go-version: ">=1.17.0" + submodules: true + fetch-depth: 0 name: Checkout + - name: Setup Hugo + uses: peaceiris/action-hugo@v2 + with: + hugo-version: "0.124.1" + extended: true + - name: Build run: | - go version hugo version - hugo + hugo --minify - uses: https://github.com/nwtgck/actions-netlify@v2.0 name: Deploy with: