Added gitea actions for hugo
Some checks failed
Build and deploy Hugo website / build-and-deploy (push) Failing after 9s

This commit is contained in:
2025-06-18 13:57:34 +02:00
parent 995e02d74f
commit f9d28a621c

View File

@ -0,0 +1,26 @@
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
- name: Deploy
uses: XPH0816/webdav-deploy-action@v0.3
with:
url: webserver-deploy.joppeb.nl
username: ${{ secrets.WEBDAV_USER }}
password: ${{ secrets.WEBDAV_PASS }}
local: "./public"
remote: "/"