Compare commits
4 Commits
feat/regis
...
gitea-acti
| Author | SHA1 | Date | |
|---|---|---|---|
| 84291efbaf | |||
| 8297d86da3 | |||
| d34b126b0b | |||
| a34090a33d |
33
.gitea/workflows/deploy-cloudflare.yml
Normal file
33
.gitea/workflows/deploy-cloudflare.yml
Normal file
@ -0,0 +1,33 @@
|
||||
# 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, gitea-actions]
|
||||
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
|
||||
# retrigger 2026-08-07T21:08:09Z
|
||||
Reference in New Issue
Block a user