Fakultas Ilmu Komputer UI

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

ci cd

parent f0352808
Pipeline #59617 failed with stage
in 1 minute and 3 seconds
......@@ -14,6 +14,6 @@ deploy-staging:
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- ssh $SSH_USER@$SSH_IP "cd jitsi-no-jutsu-backend && git pull origin main"
- ssh $SSH_USER@$SSH_IP "docker stop jitsi-no-jutsu-backend || true && docker rm jitsi-no-jutsu-backend"
- ssh $SSH_USER@$SSH_IP "docker build -t jitsi-no-jutsu-backend ."
- ssh $SSH_USER@$SSH_IP "docker run -d jitsi-no-jutsu-backend"
\ No newline at end of file
- ssh $SSH_USER@$SSH_IP "docker-compose down"
- 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