mziesel.com/.gitea/workflows/hugo.yaml
Mans Ziesel 8b891eec51
All checks were successful
/ deploy (push) Successful in 26s
tree
2023-06-13 19:24:50 +02:00

28 lines
626 B
YAML

on:
push:
branches:
- main
pull_request:
jobs:
deploy:
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: https://github.com/peaceiris/actions-hugo@v2
with:
hugo-version: '0.111.3'
# extended: true
- name: Build site
run: hugo --minify
- name: Setup tree
run: apt update && apt install tree -y
- name: Run tree
run: tree