From 024823b77ad88e749232621394f4c98ad3077d64 Mon Sep 17 00:00:00 2001 From: everestmcarthur Date: Fri, 21 Aug 2026 07:49:02 -0400 Subject: [PATCH] Add Forgejo Actions workflow (copied from .github/workflows/deploy.yml) --- .forgejo/workflows/deploy.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .forgejo/workflows/deploy.yml diff --git a/.forgejo/workflows/deploy.yml b/.forgejo/workflows/deploy.yml new file mode 100644 index 0000000..baa81d6 --- /dev/null +++ b/.forgejo/workflows/deploy.yml @@ -0,0 +1,23 @@ +name: Deploy to Cloudflare Workers + +on: + push: + branches: [main] + workflow_dispatch: + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Setup Node.js + uses: actions/setup-node@v4 + with: + node-version: '22' + + - name: Deploy Worker + uses: cloudflare/wrangler-action@v3 + with: + apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} + accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}