hugo-sandbox-01/.forgejo/workflows/hugo.yaml

24 lines
438 B
YAML
Raw Normal View History

2023-10-23 23:34:16 +00:00
on: [push]
jobs:
test:
runs-on: docker
steps:
- run: echo All Good
- uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- run: ls -la
- name: Setup Hugo
2023-10-23 23:35:52 +00:00
uses: https://github.com/peaceiris/actions-hugo@v2
2023-10-23 23:34:16 +00:00
with:
hugo-version: '0.119.0'
extended: true
- name: Build
run: hugo --minify
- run: ls -la public