From 885b521dbca10a111dd651cc4f0dd7abf38668f3 Mon Sep 17 00:00:00 2001 From: Joe Ma Date: Mon, 4 Aug 2025 14:38:58 +0800 Subject: [PATCH] Add Github workflow to depoly worker Signed-off-by: Joe Ma --- .github/workflows/depoly-worker.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/depoly-worker.yaml diff --git a/.github/workflows/depoly-worker.yaml b/.github/workflows/depoly-worker.yaml new file mode 100644 index 0000000..fce4a04 --- /dev/null +++ b/.github/workflows/depoly-worker.yaml @@ -0,0 +1,16 @@ +name: Deploy Worker +on: + push: + branches: + - main +jobs: + deploy: + runs-on: ubuntu-latest + timeout-minutes: 10 + steps: + - uses: actions/checkout@v4 + - name: Build & Deploy Worker + uses: cloudflare/wrangler-action@v3 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}