chore: cleanup

This commit is contained in:
2025-11-27 12:13:01 +00:00
parent d5f3059bcf
commit a691ba1fed
2 changed files with 0 additions and 20 deletions

View File

@@ -1,20 +0,0 @@
stages:
- name: deploy
steps:
- name: Deploy via SSH
image: alpine:latest
commands:
- apk add --no-cache openssh-client git
- mkdir -p ~/.ssh
- echo "$SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
- chmod 600 ~/.ssh/id_rsa
- echo -e "Host *\n\tStrictHostKeyChecking no\n" > ~/.ssh/config
- ssh $SSH_USER@$SSH_HOST << 'EOF'
cd /chemin/vers/ton/projet
git pull origin main
docker-compose down
docker-compose up -d --build
EOF

0
test
View File