diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml index 81a18c9..8f2f791 100644 --- a/.gitea/workflows/deploy.yaml +++ b/.gitea/workflows/deploy.yaml @@ -5,17 +5,10 @@ on: [push] jobs: build: - runs-on: ubuntu-22.04 + runs-on: hugo-latest steps: - - uses: actions/checkout@v3 - - name: Grab packages - run: | - apt-get update && \ - apt-get install -y jq rsync tar wget && \ - wget https://github.com/gohugoio/hugo/releases/download/v0.123.6/hugo_extended_0.123.6_linux-amd64.tar.gz && \ - tar -xzvf hugo_extended_0.123.6_linux-amd64.tar.gz && \ - chmod +x hugo + - uses: actions/checkout@v3 - name: Run build task run: ./hugo --minify --logLevel info - name: Test static page