Files
hugo-richard/.gitea/workflows/demo.yml
Richard Oswald 359421ca7a
All checks were successful
Hugo Update Pipeline / Explore-Gitea-Actions (push) Successful in 10s
updated pipeline
2025-06-06 04:47:32 -05:00

30 lines
920 B
YAML

name: Hugo Update Pipeline
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
on: [push]
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
- name: List files in the repository pre
run: |
ls ${{ gitea.workspace }}
- name: Find mounted public folder
run: |
df -h
- name: Setup Hugo
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
# extended: true
- name: Build
run: hugo --minify
- name: List files in the repository post
run: |
ls ${{ gitea.workspace }}
- run: echo "🍏 This job's status is ${{ job.status }}."