Files
SixFlagsSuperCalendar/.gitea/workflows/deploy.yml
T
josh c5c9f750a3
Build and Deploy / Build & Push (push) Successful in 2m10s
chore: update Docker and CI for web + backend architecture
Replace scraper container with backend API container. Web image no
longer mounts a data volume or ships SQLite. Backend image runs Hono
server with node-cron scheduler, owns the database exclusively.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-23 21:49:17 -04:00

37 lines
918 B
YAML

name: Build and Deploy
on:
push:
branches:
- main
jobs:
build-push:
name: Build & Push
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Log in to Gitea registry
uses: docker/login-action@v3
with:
registry: ${{ vars.REGISTRY }}
username: ${{ gitea.actor }}
password: ${{ secrets.REGISTRY_TOKEN }}
- name: Build and push web image
uses: docker/build-push-action@v6
with:
context: .
target: web
push: true
tags: ${{ vars.REGISTRY }}/${{ gitea.repository_owner }}/sixflagssupercalendar:web
- name: Build and push backend image
uses: docker/build-push-action@v6
with:
context: .
target: backend
push: true
tags: ${{ vars.REGISTRY }}/${{ gitea.repository_owner }}/sixflagssupercalendar:backend