Stefan H
319a8943ee
Some checks failed
Compile Hugo code to HTML and upload / Explore-Gitea-Actions (push) Failing after 7s
28 lines
No EOL
780 B
YAML
28 lines
No EOL
780 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
|
|
|
|
# - name: Deploy
|
|
# uses: peaceiris/actions-gh-pages@v3
|
|
# if: ${{ github.ref == 'refs/heads/main' }}
|
|
# with:
|
|
# github_token: ${{ secrets.GITHUB_TOKEN }}
|
|
# publish_dir: ./public |