Workflow: Make extracted hugo file executable
Build and deploy site / deploy (push) Failing after 10s Details

This commit is contained in:
Jarrod Doyle 2024-03-16 11:32:53 +00:00
parent 7463edb988
commit 5b56659821
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,10 @@ jobs:
version=$(echo "$url" | grep -oP 'hugo_\K[0-9]+\.[0-9]+\.[0-9]+') version=$(echo "$url" | grep -oP 'hugo_\K[0-9]+\.[0-9]+\.[0-9]+')
echo "Downloaded Hugo version: $version" echo "Downloaded Hugo version: $version"
- name: Unpack Hugo - name: Unpack Hugo
run: mkdir -p ${{ gitea.workspace }}/bin && tar -xf /tmp/hugo/* -C ${{ gitea.workspace }}/bin run: |
mkdir -p ${{ gitea.workspace }}/bin
tar -xf /tmp/hugo/* -C ${{ gitea.workspace }}/bin
chmod 700 ${{ gitea.workspace }}/bin/hugo
- name: Build the static webpage - name: Build the static webpage
run: ${{ gitea.workspace }}/bin/hugo --minify run: ${{ gitea.workspace }}/bin/hugo --minify
- name: Create private key - name: Create private key