Some checks failed
Hugo Update Pipeline / Explore-Gitea-Actions (push) Failing after 14s
30 lines
942 B
YAML
30 lines
942 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: |
|
|
find / -type d -name themes
|
|
- 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 }}." |