diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml index a83df4a..e2c0649 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' - run: | - apt update && apt install -y rsync - mkdir -p /pages - rsync -a --delete dist/ /pages/schmelczer-dev + uses: http://forgejo:3000/andras/ci-actions/deploy-pages@main + with: + source: dist + target: schmelczer-dev - name: Copy build to staging pages mount if: github.event_name == 'pull_request' - run: | - apt update && apt install -y rsync - mkdir -p /pages - rsync -a --delete dist/ /pages/schmelczer-dev-staging + uses: http://forgejo:3000/andras/ci-actions/deploy-pages@main + with: + source: dist + target: schmelczer-dev-staging