Files
Julien Froidefond 3e9b64694d
All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m20s
chore: readable compose up
2026-03-19 08:21:04 +01:00

24 lines
640 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
AUTH_SECRET: ${{ secrets.AUTH_SECRET }}
DB_VOLUME_PATH: ${{ variables.DB_VOLUME_PATH }}
run: |
if [ -n "${DB_VOLUME_PATH}" ]; then mkdir -p "$DB_VOLUME_PATH"; fi
BUILDKIT_PROGRESS=plain docker compose up -d --build