Stefan H
efbe360530
Some checks failed
Compile Hugo code to HTML and upload / Explore-Gitea-Actions (push) Failing after 4s
21 lines
560 B
YAML
21 lines
560 B
YAML
name: Compile Hugo code to HTML and upload
|
|
run-name: ${{ gitea.actor }} is testing out Gitea Actions
|
|
on: [push]
|
|
|
|
jobs:
|
|
Explore-Gitea-Actions:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
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
|