diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index e2c0649..a83df4a 100644 --- a/.forgejo/workflows/deploy.yml +++ b/.forgejo/workflows/deploy.yml @@ -45,14 +45,14 @@ jobs: - name: Copy build to host pages mount if: github.event_name == 'push' && github.ref == 'refs/heads/main' - uses: http://forgejo:3000/andras/ci-actions/deploy-pages@main - with: - source: dist - target: schmelczer-dev + run: | + apt update && apt install -y rsync + mkdir -p /pages + rsync -a --delete dist/ /pages/schmelczer-dev - name: Copy build to staging pages mount if: github.event_name == 'pull_request' - uses: http://forgejo:3000/andras/ci-actions/deploy-pages@main - with: - source: dist - target: schmelczer-dev-staging + run: | + apt update && apt install -y rsync + mkdir -p /pages + rsync -a --delete dist/ /pages/schmelczer-dev-staging