Files
gateway-gamers.net/.gitea/workflows/deploy-aos-rankings.yml
T
mandaloreandClaude Sonnet 5 ba4d71613b Replace GitLab CI with Gitea Actions workflows
GitLab CE was migrated off to reduce memory pressure on the host, so
.gitlab-ci.yml is dead. Split into one workflow file per site (shared,
40k-rankings, aos-rankings, kingmaker, scouting, events) since Gitea/
GitHub Actions path filters are workflow-level, not job-level like
GitLab's rules.changes. Build+deploy are combined into a single job per
site rather than separate build/deploy stages, since both run on the
same host and there's no need to round-trip artifacts between them.

The weekly ELO refresh job's schedule (Wed 02:00 Atlantic/Azores) is
approximated as a fixed 02:00 UTC cron, since Actions cron has no DST
handling.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-22 15:14:49 -05:00

24 lines
536 B
YAML

name: Deploy aos-rankings
on:
push:
branches: [main]
paths:
- 'sites/aos-rankings/**'
- 'shared/**'
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: host
steps:
- uses: actions/checkout@v4
- name: Build
working-directory: sites/aos-rankings
run: |
npm ci
npm run build
- name: Deploy
run: |
rsync -avz --delete --exclude images --exclude footer.html sites/aos-rankings/dist/ /var/www/domains/gateway-gamers.net/aos-rankings/