Merge branch 'main' of http://nas.percolouco.com:3500/perco/HouseHub into parent_id #4

Merged
perco merged 8 commits from parent_id into main 2026-05-21 11:22:12 +02:00
Showing only changes of commit b1d3db4892 - Show all commits
+19 -4
View File
@@ -2,7 +2,7 @@ name: Deploy HouseHub
on: on:
push: push:
branches: [main] branches: [main, staging-perco, staging-fefe]
jobs: jobs:
deploy: deploy:
@@ -15,6 +15,21 @@ jobs:
username: perco username: perco
key: ${{ secrets.SSH_PRIVATE_KEY }} key: ${{ secrets.SSH_PRIVATE_KEY }}
script: | script: |
cd /opt/container/househub BRANCH="${{ github.ref_name }}"
git pull case "$BRANCH" in
echo "✓ HouseHub mis à jour" main)
cd /opt/container/househub
git pull
echo "✓ Production mise à jour"
;;
staging-perco)
cd /opt/container/househub-perco
git pull origin staging-perco
echo "✓ Staging Perco mis à jour"
;;
staging-fefe)
cd /opt/container/househub-fefe
git pull origin staging-fefe
echo "✓ Staging Fefe mis à jour"
;;
esac