From 6b1b898e05db91ee2ae76cd3dff1afa672a7af21 Mon Sep 17 00:00:00 2001 From: Hunter Kvalevog Date: Thu, 11 Sep 2025 21:14:45 -0500 Subject: --- .github/workflows/hugo.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/hugo.yml (limited to '.github/workflows/hugo.yml') 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 -- cgit v1.2.3