mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
24 lines
574 B
YAML
24 lines
574 B
YAML
name: Deploy to Cloudflare
|
|
|
|
on:
|
|
push:
|
|
branches: [qas]
|
|
paths:
|
|
- 'apps/api/**'
|
|
- 'docker-compose.yml'
|
|
- 'pnpm-lock.yaml'
|
|
- 'pnpm-workspace.yaml'
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
deploy:
|
|
# Runner lives on the same home machine (ux) that Cloudflare Tunnel
|
|
# already points at — no WireGuard/SSH hop needed like the droplet
|
|
# workflow, the runner IS the target.
|
|
runs-on: [self-hosted, ux]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Rebuild and restart backend
|
|
run: docker compose up -d --build backend
|