Fakultas Ilmu Komputer UI

Commit b178bf00 authored by Fijar Lazuardy's avatar Fijar Lazuardy
Browse files

staging ci

parent 5b29cf6f
Pipeline #59619 passed with stage
in 1 minute and 13 seconds
......@@ -14,6 +14,7 @@ deploy-staging:
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script:
- ssh $SSH_USER@$SSH_IP "cd jitsi-no-jutsu-backend && git pull origin staging"
- ssh $SSH_USER@$SSH_IP "docker-compose down"
- ssh $SSH_USER@$SSH_IP "docker-compose up --build -d"
- ssh $SSH_USER@$SSH_IP "cd jitsi-no-jutsu-backend && docker-compose down"
- ssh $SSH_USER@$SSH_IP "cd jitsi-no-jutsu-backend && docker-compose up --build -d"
# - ssh $SSH_USER@$SSH_IP "docker-compose up --build -d"
#- ssh $SSH_USER@$SSH_IP "docker run -d jitsi-no-jutsu-backend"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment