Files
CoHaiSe/.github/workflows/deploy.yml
T
Esiah fa0c808dff
deploy / deploy (push) Successful in 1m8s
fix(cd): fixing runner git config
2026-11-10 20:11:53 +01:00

20 lines
437 B
YAML

name: deploy
on:
push:
branches: [main]
jobs:
deploy:
# Label du runner act_runner (config: labels: ["cohaise:host"]).
runs-on: cohaise
steps:
- name: Déploiement vitrine + CRM
run: |
set -e
git config --global --add safe.directory /srv/apps/cohaise
cd /srv/apps/cohaise
git pull --ff-only origin main
make deploy-all
docker image prune -f