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

27 lines
631 B
Text
Raw Normal View History

2023-07-18 13:45:28 +02:00
name: Compile Hugo code to HTML and upload
2023-07-18 13:49:33 +02:00
run-name: ${{ gitea.actor }} is testing out Gitea Actions
on:
push:
branches:
- main # Set a branch to deploy
pull_request:
2023-07-18 13:45:28 +02:00
jobs:
Explore-Gitea-Actions:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
2023-07-18 14:48:36 +02:00
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