Workflow: Create folder for hugo unpacking. Remove non-existent test script run
Build and deploy site / deploy (push) Failing after 10s Details

This commit is contained in:
Jarrod Doyle 2024-03-16 11:29:52 +00:00
parent a0c0310a7f
commit 7463edb988
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 1 additions and 3 deletions

View File

@ -25,11 +25,9 @@ jobs:
version=$(echo "$url" | grep -oP 'hugo_\K[0-9]+\.[0-9]+\.[0-9]+')
echo "Downloaded Hugo version: $version"
- name: Unpack Hugo
run: tar -xf /tmp/hugo/* -C ${{ gitea.workspace }}/bin
run: mkdir -p ${{ gitea.workspace }}/bin && tar -xf /tmp/hugo/* -C ${{ gitea.workspace }}/bin
- name: Build the static webpage
run: ${{ gitea.workspace }}/bin/hugo --minify
- name: Test static page
run: bash ${{ gitea.workspace }}/bin/test_static_page.sh
- name: Create private key
run: |
echo "${{ secrets.ACT_RUNNER_KEY }}" > /tmp/act_runner_key