From 7193f740cad0d6bb35778b419a8656ae8126ddf7 Mon Sep 17 00:00:00 2001 From: "hunter@kvog.sh" Date: Wed, 17 Jun 2026 21:40:13 -0500 Subject: --- .github/workflows/hugo.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/hugo.yml (limited to '.github/workflows') 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 + -- cgit v1.2.3