From 366fb952bcb5a88eedac5c483c298d12c9eed5d2 Mon Sep 17 00:00:00 2001 From: Henry V Child Date: Sat, 5 Apr 2025 21:39:20 +0200 Subject: [PATCH] Changes to workflow --- .gitea/workflows/upload_site.yaml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/upload_site.yaml b/.gitea/workflows/upload_site.yaml index 2381158..254c425 100644 --- a/.gitea/workflows/upload_site.yaml +++ b/.gitea/workflows/upload_site.yaml @@ -3,12 +3,23 @@ name: Generate and upload hugo website on: push: + jobs: generate_and_upload_site: - runs-on: hugomods/hugo-latest + runs-on: ubuntu-latest steps: + - name: Update Packages + run: sudo apt update + + - name: Install Go + run: sudo apt install golang-go -y + + - name: Building Hugo + run: go install github.com/gohugoio/hugo@latest + - name: Check out repository code uses: actions/checkout@v4 + - name: Generate the website run: ~/go/bin/hugo