hadr24/.gitea/workflows/upload.yaml.disabled

27 lines
631 B
Plaintext

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