From 87ce902a30e18cbba4806cebbffb20cab943a43e Mon Sep 17 00:00:00 2001 From: christian Date: Wed, 30 Oct 2024 23:33:58 +0100 Subject: [PATCH] added workflow to deploy to cloudflare --- .gitea/workflows/deploy-to-workers.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .gitea/workflows/deploy-to-workers.yaml diff --git a/.gitea/workflows/deploy-to-workers.yaml b/.gitea/workflows/deploy-to-workers.yaml new file mode 100644 index 0000000..b2f4d95 --- /dev/null +++ b/.gitea/workflows/deploy-to-workers.yaml @@ -0,0 +1,16 @@ +name: Deploy Worker +on: + push: + branches: + - main +jobs: + deploy: + runs-on: ubuntu-latest + timeout-minutes: 60 + 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 }}