From f51a612c142d23f33e346bf3116d1eb7aafad5f7 Mon Sep 17 00:00:00 2001 From: Jojojoppe Date: Wed, 18 Jun 2025 13:57:34 +0200 Subject: [PATCH] Added gitea actions for hugo --- .gitea/workflows/hugo-build-deploy.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .gitea/workflows/hugo-build-deploy.yaml diff --git a/.gitea/workflows/hugo-build-deploy.yaml b/.gitea/workflows/hugo-build-deploy.yaml new file mode 100644 index 0000000..f745ebb --- /dev/null +++ b/.gitea/workflows/hugo-build-deploy.yaml @@ -0,0 +1,18 @@ +name: Build and deploy Hugo website +on: + push: + branches: + - master + +jobs: + build-and-deploy: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v4 + - name: Install Hugo + uses: peaceiris/actions-hugo@v3 + with: + hugo-version: '0.147.8' + - name: Build + run: hugo --minify \ No newline at end of file