This commit is contained in:
underground 2025-01-19 19:48:31 +01:00
commit 3a247ba6ca
Failed to generate hash of commit
34 changed files with 290 additions and 0 deletions

30
.github/workflows/deploy.yml vendored Normal file
View file

@ -0,0 +1,30 @@
name: Deploy Hugo site to GitHub Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
submodules: true
- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
with:
hugo-version: 'latest'
- name: Build site
run: hugo --minify
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public