Add Cloudflare Workers deploy config and Gitea Actions workflow
Deploy to Cloudflare Workers / deploy (push) Failing after 12s

Adds wrangler.toml (static asset deploy config for the portfolio
Worker) and .gitea/workflows/deploy.yml so pushes to main
automatically redeploy the site via wrangler-action.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-09-17 20:25:09 -04:00
co-authored by Claude Sonnet 5
parent b5fb0bf5e7
commit 5c4b80cc23
2 changed files with 37 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
name: Deploy to Cloudflare Workers
on:
push:
branches:
- main # change if your default branch is named differently, e.g. master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Absolute https:// URLs are used here (rather than the bare
# `actions/checkout@v4` shorthand) so this works regardless of how this
# Gitea instance has DEFAULT_ACTIONS_URL configured.
- name: Checkout
uses: https://github.com/actions/checkout@v4
- name: Deploy
uses: https://github.com/cloudflare/wrangler-action@v3
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}