Files
got-gaming/.gitea/workflows/deploy.yml
Julien Froidefond 8b1ed1b8b9
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 50s
Remove --build flag from docker compose command in deploy.yml to streamline deployment process and avoid unnecessary image rebuilding.
2025-12-11 09:04:44 +01:00

24 lines
549 B
YAML

name: Deploy with Docker Compose
on:
push:
branches:
- main # adapte la branche que tu veux déployer
jobs:
deploy:
runs-on: mac-orbstack-runner # le nom que tu as donné au runner
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Deploy stack
env:
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
DATABASE_URL: ${DATABASE_URL}
NEXTAUTH_URL: ${NEXTAUTH_URL}
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
run: |
docker compose up -d