From 02f96f21834e45307c17be6e5fd3e21fca5da4c0 Mon Sep 17 00:00:00 2001 From: Andras Schmelczer Date: Sat, 6 Jun 2026 14:58:36 +0100 Subject: [PATCH] Adopt shared ci-actions for publishing Replace the inline publish step(s) with the canonical shell-only composite actions in andras/ci-actions (deploy-pages / docker-publish / forgejo-release). Co-Authored-By: Claude Opus 4.8 (1M context) --- .forgejo/workflows/deploy.yml | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index 27585b7..22aa2b5 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -33,9 +33,16 @@ jobs: env: NODE_OPTIONS: --openssl-legacy-provider - - name: Copy build to host pages mount + - name: Copy build to host pages mount (sdf2d) if: github.event_name == 'push' && github.ref == 'refs/heads/main' - run: | - apt update && apt install -y rsync - rsync -a --delete --mkpath dist/ /pages/sdf2d - rsync -a --delete --mkpath dist/ /pages/sdf-2d + uses: http://forgejo:3000/andras/ci-actions/deploy-pages@main + with: + source: dist + target: sdf2d + + - name: Copy build to host pages mount (sdf-2d) + if: github.event_name == 'push' && github.ref == 'refs/heads/main' + uses: http://forgejo:3000/andras/ci-actions/deploy-pages@main + with: + source: dist + target: sdf-2d