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
+15
View File
@@ -0,0 +1,15 @@
# Cloudflare Workers config for the static portfolio site.
# Replace `name` with your existing Worker's name in the Cloudflare dashboard
# if one already exists at portfolio.ayushyamitabh.workers.dev — the name here
# determines which Worker gets deployed to.
name = "portfolio"
# Set this to the date you first deploy; Wrangler uses it to pin runtime behavior.
compatibility_date = "2026-09-17"
# Serves every file in this directory as a static asset. Since index.html sits
# at the repo root, "." works; move it into e.g. "./public" and update this if
# you'd rather keep the repo root clean.
[assets]
directory = "."
not_found_handling = "404-page"