diff --git a/.gitea/workflows/build_and_deploy.yaml b/.gitea/workflows/build_and_deploy.yaml index d2f57b9..b47caeb 100644 --- a/.gitea/workflows/build_and_deploy.yaml +++ b/.gitea/workflows/build_and_deploy.yaml @@ -17,13 +17,14 @@ jobs: with: submodules: 'recursive' - name: Install apt packages - run: apt update && apt install -y jq rsync hugo - - name: Build the static webpage - run: | - pwd - cat hugo.toml - hugo --help - hugo --minify + run: apt update && apt install -y jq rsync + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2 + with: + hugo-version: '0.123.8' + extended: true + - name: Build + run: hugo --minify - name: Create private key run: | echo "${{ secrets.ACT_RUNNER_KEY }}" > /tmp/act_runner_key