Changed workflow to use prebuilt hugo binary
Some checks failed
Build & Deploy / build-or-sth (push) Failing after 0s

This commit is contained in:
Emin Arslan 2024-11-16 15:36:14 +03:00
parent ec5fd207e7
commit 57febbd622

View File

@ -10,11 +10,12 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- run: echo "hi!" - run: echo "hi!"
- name: Get hugo
run: apt update && apt install hugo -y
- name: Clone repo - name: Clone repo
run: git clone --recurse-submodules https://git.emin.software/haxala1r/blog.git --depth=1 . 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: pwd
- run: ls -la - run: ls -la
- name: build - name: build
run: hugo run: ./hugo