Update file .gitlab-ci.yml

This commit is contained in:
Lee 2023-01-13 23:33:07 +00:00
parent ed368da66d
commit 5fc41db285

@ -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: