Adopt shared ci-actions for publishing #1

Merged
andras merged 1 commit from ci/shared-actions into main 2026-06-06 15:18:49 +01:00

View file

@ -33,9 +33,16 @@ jobs:
env: env:
NODE_OPTIONS: --openssl-legacy-provider 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' if: github.event_name == 'push' && github.ref == 'refs/heads/main'
run: | uses: http://forgejo:3000/andras/ci-actions/deploy-pages@main
apt update && apt install -y rsync with:
rsync -a --delete --mkpath dist/ /pages/sdf2d source: dist
rsync -a --delete --mkpath dist/ /pages/sdf-2d 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