mirror of
https://github.com/rgrgogu/new_starr.git
synced 2026-09-27 00:12:54 +08:00
19 lines
457 B
YAML
19 lines
457 B
YAML
name: Deploy to Cloudflare
|
|
|
|
on:
|
|
push:
|
|
branches: [qas]
|
|
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
|