Workflow: Use an existing hugo action smh
Build and deploy site / deploy (push) Successful in 11s Details

This commit is contained in:
Jarrod Doyle 2024-03-16 12:09:49 +00:00
parent 8ee2c81d3b
commit 864b0daa4e
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 8 additions and 7 deletions

View File

@ -17,13 +17,14 @@ jobs:
with:
submodules: 'recursive'
- name: Install apt packages
run: apt update && apt install -y jq rsync hugo
- name: Build the static webpage
run: |
pwd
cat hugo.toml
hugo --help
hugo --minify
run: apt update && apt install -y jq rsync
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: '0.123.8'
extended: true
- name: Build
run: hugo --minify
- name: Create private key
run: |
echo "${{ secrets.ACT_RUNNER_KEY }}" > /tmp/act_runner_key