This commit is contained in:
@@ -16,7 +16,8 @@ jobs:
|
||||
ssh -o StrictHostKeyChecking=no -i /root/.ssh/id_home root@home.mesdonneesadministratives.fr "
|
||||
cd /opt/alapatch &&
|
||||
git fetch --all &&
|
||||
git reset --hard origin/master &&
|
||||
# Correction ici : on force l'alignement sur origin/main
|
||||
git reset --hard origin/main &&
|
||||
docker build --no-cache -t alapatch-prod . &&
|
||||
if [ \$(docker ps -aq -f name=microkorg-editor) ]; then
|
||||
docker stop microkorg-editor &&
|
||||
@@ -24,3 +25,4 @@ jobs:
|
||||
fi &&
|
||||
docker run -d --restart unless-stopped -p 4321:4321 --name microkorg-editor alapatch-prod
|
||||
"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user