From c040167e99108789ae815c7c4cec28a30a4cab08 Mon Sep 17 00:00:00 2001 From: Neale Pickett Date: Fri, 27 Oct 2023 13:53:05 -0700 Subject: [PATCH] Add gitea workflow --- .gitea/workflows/build.yaml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..121f13c --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,13 @@ +name: Homepage +on: [push] +jobs: + publish: + runs-on: docker + container: klakegg/hugo:ext + steps: + - name: Check out source + run: git clone $GITHUB_SERVER_URL/$GITHUB_REPOSITORY . + - name: Build + run: hugo build + - name: Publish + run: rsync --delete -vax ./public/ neale@melville.woozle.org:/srv/www/woozle.org/