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: