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