Update file .gitlab-ci.yml

This commit is contained in:
Lee 2023-01-13 23:30:58 +00:00
parent 9e35062b41
commit ed368da66d

@ -21,7 +21,7 @@ deploy:
tags: tags:
# - deployment # - deployment
script: script:
- chmod og= $ID_RSA #- chmod og= $ID_RSA
- apk update && apk add openssh-client - apk update && apk add openssh-client
- ssh -i $ID_RSA -o StrictHostKeyChecking=no $SERVER_USER@$SERVER_IP "cd /home/overlay && docker compose pull && docker compose up -d" - ssh -i $ID_RSA -o StrictHostKeyChecking=no $SERVER_USER@$SERVER_IP "cd /home/overlay && docker compose pull && docker compose up -d"
environment: environment: