From 57febbd622e9760a7628afec6f6bdbd757c8cab5 Mon Sep 17 00:00:00 2001 From: Emin Arslan Date: Sat, 16 Nov 2024 15:36:14 +0300 Subject: [PATCH] Changed workflow to use prebuilt hugo binary --- .gitea/workflows/main-build.yaml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/main-build.yaml b/.gitea/workflows/main-build.yaml index 35adb6a..9c83c79 100644 --- a/.gitea/workflows/main-build.yaml +++ b/.gitea/workflows/main-build.yaml @@ -10,11 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - run: echo "hi!" - - name: Get hugo - run: apt update && apt install hugo -y - name: Clone repo run: git clone --recurse-submodules https://git.emin.software/haxala1r/blog.git --depth=1 . + - name: Get hugo + run: wget https://github.com/gohugoio/hugo/releases/download/v0.138.0/hugo_0.138.0_linux-amd64.tar.gz -O hugo.tar.gz + - name: tar xzvf hugo.tar.gz - run: pwd - run: ls -la - name: build - run: hugo + run: ./hugo