Files
route-commerce/.gitea/workflows/deploy.yml
T
tyler d95e61ca07
Deploy / deploy (push) Failing after 0s
ci(gitea): drop build workflow, simplify deploy to call deploy.sh
- Delete .gitea/workflows/build.yml (typecheck/lint only; caused confusion)
- Rewrite .gitea/workflows/deploy.yml as a thin wrapper that calls
  ./deploy/deploy.sh, matching the design in deploy/GITEA_SETUP.md
  (Option B). The 14512-byte inline deploy is removed; deploy.sh is the
  source of truth for the deploy mechanism.
- Fix runs-on to [self-hosted, ubuntu-latest] (matches the actual labels
  registered on crispygoat-host-runner; the previous [.., linux, ..] was
  unmatchable, which is why runs were stuck in the queue)
2026-06-06 04:40:44 +00:00

23 lines
483 B
YAML

name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
# Self-hosted Gitea runner.
# Registered labels on crispygoat-host-runner: self-hosted, ubuntu-latest
runs-on: [self-hosted, ubuntu-latest]
steps:
- name: Update homelab checkout
run: |
cd /home/tyler/route-commerce
git pull --ff-only origin main
- name: Run deploy.sh
working-directory: /home/tyler/route-commerce
run: ./deploy/deploy.sh