Stefan H
0de933a895
Some checks reported warnings
Compile Hugo code to HTML and upload / Explore-Gitea-Actions (push) Has been cancelled
26 lines
631 B
YAML
26 lines
631 B
YAML
name: Compile Hugo code to HTML and upload
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main # Set a branch to deploy
|
|
pull_request:
|
|
|
|
jobs:
|
|
Explore-Gitea-Actions:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: true # Fetch Hugo themes (true OR recursive)
|
|
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
|
|
|
|
- name: Setup Hugo
|
|
uses: peaceiris/actions-hugo@v2
|
|
with:
|
|
hugo-version: '0.91.2'
|
|
# extended: true
|
|
|
|
- name: Build
|
|
run: hugo --minify
|