diff --git a/.gitea/workflows/hugo_build.yaml b/.gitea/workflows/hugo_build.yaml index f05b7e2..1e84db7 100644 --- a/.gitea/workflows/hugo_build.yaml +++ b/.gitea/workflows/hugo_build.yaml @@ -7,15 +7,7 @@ jobs: runs-on: docker steps: - uses: actions/checkout@v4 - - name: Install Hugo - uses: peaceiris/actions-hugo@v2 + - uses: actions/setup-go@v3 with: - hugo-version: '0.105.0' - extended: true - - name: Build - run: hugo - - name: Deploy - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./public \ No newline at end of file + go-version: '>=1.17.0' + - run: go version \ No newline at end of file