From d1f7841f3b2414a2498292614fb1ed1a2de31080 Mon Sep 17 00:00:00 2001 From: Matt Date: Mon, 14 Apr 2025 17:24:22 -0400 Subject: [PATCH] use /tmp/deploy to stage files --- .gitea/workflows/deploy.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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