summaryrefslogtreecommitdiff
path: root/.github/workflows/hugo.yml
diff options
context:
space:
mode:
authorhunter@kvog.sh <hunter@kvog.sh>2026-06-17 21:40:13 -0500
committerHunter Kvalevog <hunter@kvog.sh>2026-06-18 20:27:48 -0500
commit7193f740cad0d6bb35778b419a8656ae8126ddf7 (patch)
treec4de4bc21cf0d446b9bfad644623f0f2752abb63 /.github/workflows/hugo.yml
parent927c9cf689201b93a26e62fe0a872c92b5a33dd3 (diff)
Diffstat (limited to '.github/workflows/hugo.yml')
-rw-r--r--.github/workflows/hugo.yml29
1 files changed, 29 insertions, 0 deletions
diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml
new file mode 100644
index 0000000..e26bd74
--- /dev/null
+++ b/.github/workflows/hugo.yml
@@ -0,0 +1,29 @@
+name: Deploy Hugo site to Pages
+
+on:
+ push:
+ branches: [master]
+
+permissions:
+ contents: write
+
+jobs:
+ deploy:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v4
+
+ - uses: peaceiris/actions-hugo@v3
+ with:
+ hugo-version: 'latest'
+ extended: true
+
+ - run: hugo --minify
+
+ - uses: peaceiris/actions-gh-pages@v4
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ publish_dir: ./public
+ publish_branch: gh-pages
+ cname: kvog.sh
+