diff options
| author | Hunter Kvalevog <hunter@kvog.sh> | 2025-09-11 21:14:45 -0500 |
|---|---|---|
| committer | Hunter Kvalevog <hunter@kvog.sh> | 2025-09-11 21:14:45 -0500 |
| commit | 6b1b898e05db91ee2ae76cd3dff1afa672a7af21 (patch) | |
| tree | ebbc83cc0ac4c4608b043648f434170754618819 /.github | |
| parent | 039a2f2755e0115b0339fea56d97fd90c4bbc951 (diff) | |
Diffstat (limited to '.github')
| -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..991f297 --- /dev/null +++ b/.github/workflows/hugo.yml @@ -0,0 +1,29 @@ +name: Deploy Hugo site to Pages + +on: + push: + branches: + - master + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout source + uses: actions/checkout@v4 + + - name: Setup Hugo + uses: peaceiris/actions-hugo@v3 + with: + hugo-version: 'latest' + extended: true + + - name: Build + run: hugo --minify + + - name: Deploy to GitHub Pages + uses: peaceiris/actions-gh-pages@v4 + with: + github_token: ${{ secrets.GITHUB_TOKEN }} + publish_dir: ./public + publish_branch: gh-pages |