diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index dc5a361..af089bc 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -8,11 +8,13 @@ jobs: container: alpine:latest timeout-minutes: 60 steps: - - run: apk add nodejs npm + - run: apk add nodejs npm rsync - uses: actions/checkout@v4 + - run: mkdir /tmp/deploy + - run: rsync -uan --exclude=".*" . /tmp/deploy - name: Build & Deploy Worker uses: cloudflare/wrangler-action@v3 with: apiToken: ${{ secrets.CF_API_TOKEN }} accountId: ${{ secrets.CF_ACCOUNT_ID }} - command: pages deploy . --project-name=ctmesh-org + command: pages deploy /tmp/deploy --project-name=ctmesh-org