From 017bc99285d90b90318bd6483e3f77dfb419e7b3 Mon Sep 17 00:00:00 2001 From: June Date: Tue, 29 Jul 2025 20:34:17 +0200 Subject: [PATCH] wip: testing custom actions --- .forgejo/workflows/deploy.yaml | 3 +++ actions/build-website/action.yml | 7 +++++++ 2 files changed, 10 insertions(+) create mode 100644 actions/build-website/action.yml diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 4f749f5..9b6960d 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -33,6 +33,9 @@ jobs: with: fetch-depth: 0 # pull full history for page lastmod by git commit date + - name: Build website + uses: ./actions/build-website + - name: Build website - prod if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref_name == 'main' run: | diff --git a/actions/build-website/action.yml b/actions/build-website/action.yml new file mode 100644 index 0000000..ce06591 --- /dev/null +++ b/actions/build-website/action.yml @@ -0,0 +1,7 @@ +name: Build Website +description: Build Website Test + +runs: + using: docker + image: hugomods/hugo:exts-0.148.1 +