Files
NexStudio/.gitea/workflows/deploy-cloudflare.yml
javaxman 26b148afe8
All checks were successful
Deploy Cloudflare / deploy (push) Successful in 1m7s
ci: retrigger main deploy with refreshed CF credentials
2026-08-07 23:12:32 +02:00

34 lines
798 B
YAML

# Deploy NexStudio Worker to Cloudflare via Gitea Actions.
# Primary CI/CD after GitHub -> Gitea cutover. Requires secrets:
# CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID
name: Deploy Cloudflare
on:
push:
branches: [main]
paths-ignore:
- "**.md"
- ".cursor/**"
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: npm
- name: Install dependencies
run: npm ci
- name: Build and deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
run: npm run deploy:cf
# verified 2026-08-07T21:12:32Z