re-adding hugo build pipeline
All checks were successful
Hugo Update Pipeline / Explore-Gitea-Actions (push) Successful in 19s
All checks were successful
Hugo Update Pipeline / Explore-Gitea-Actions (push) Successful in 19s
This commit is contained in:
20
.gitea/workflows/hugo-build.yml
Normal file
20
.gitea/workflows/hugo-build.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
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 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: Install Hugo
|
||||||
|
uses: peaceiris/actions-hugo@v3
|
||||||
|
with:
|
||||||
|
hugo-version: 'latest'
|
||||||
|
# extended: true
|
||||||
|
- name: Build
|
||||||
|
run: hugo --minify
|
Reference in New Issue
Block a user