diff options
| author | hunter@kvog.sh <hunter@kvog.sh> | 2026-06-17 21:40:13 -0500 |
|---|---|---|
| committer | Hunter Kvalevog <hunter@kvog.sh> | 2026-06-18 20:27:48 -0500 |
| commit | 7193f740cad0d6bb35778b419a8656ae8126ddf7 (patch) | |
| tree | c4de4bc21cf0d446b9bfad644623f0f2752abb63 /.github/workflows/hugo.yml | |
| parent | 927c9cf689201b93a26e62fe0a872c92b5a33dd3 (diff) | |
Diffstat (limited to '.github/workflows/hugo.yml')
| -rw-r--r-- | .github/workflows/hugo.yml | 29 |
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 + |