Some checks failed
Deploy / deploy (push) Failing after 51s
Drives massprice.tcgplayer.com's Run Rule action per-rule on a user-configured schedule (multiple times/day, day-of-week toggles), replacing MassPrice's native scheduler (capped at 15 schedules account-wide, one run/day, with observed clock drift). Deployed via Forgejo push-to-deploy on Unraid, matching arr-summary/card-grader. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01H6TgffxTvYhqxykAbVQg2v
29 lines
757 B
YAML
29 lines
757 B
YAML
name: Deploy
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install rsync
|
|
run: apt-get update -qq && apt-get install -y -qq rsync
|
|
|
|
# .env and data/ are server-only state and must survive every
|
|
# deploy — without the excludes, --delete removes them because
|
|
# they aren't in the repo.
|
|
- name: Sync source to deploy path
|
|
run: |
|
|
rsync -a --delete \
|
|
--exclude='.git' \
|
|
--exclude='.env' \
|
|
--exclude='data' \
|
|
./ /mnt/user/appdata/massprice/
|
|
|
|
- name: Rebuild and restart
|
|
working-directory: /mnt/user/appdata/massprice
|
|
run: docker compose up -d --build
|