From 823b0eb8cf57787d7834d9af1d35fc169dc96453 Mon Sep 17 00:00:00 2001 From: Brooke Date: Wed, 6 Mar 2024 01:45:31 -0500 Subject: [PATCH] trying hugo-latest instead of ubuntu with package installs on start --- .gitea/workflows/deploy.yaml | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) 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