19 lines
368 B
YAML
19 lines
368 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
|
|
cd /srv/apps/cohaise
|
|
git pull --ff-only origin main
|
|
make deploy-all
|
|
docker image prune -f
|