Fakultas Ilmu Komputer UI

Commit d4ac4713 authored by Naufaldi Athallah Rifqi's avatar Naufaldi Athallah Rifqi
Browse files

fix ci

parent 81aae608
Pipeline #59602 failed with stage
in 36 seconds
...@@ -14,6 +14,6 @@ deploy-staging: ...@@ -14,6 +14,6 @@ deploy-staging:
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
script: script:
- ssh $SSH_USER@$SSH_IP "cd jitsi-no-jutsu-backend && git pull origin main" - ssh $SSH_USER@$SSH_IP "cd jitsi-no-jutsu-backend && git pull origin main"
- ssh -i $SSH_PRIVATE_KEY $SSH_USER@$SSH_IP_PROD "docker stop jitsi-no-jutsu-backend || true && docker rm jitsi-no-jutsu-backend" - ssh -i $SSH_PRIVATE_KEY $SSH_USER@$SSH_IP "docker stop jitsi-no-jutsu-backend || true && docker rm jitsi-no-jutsu-backend"
- ssh -i $SSH_PRIVATE_KEY $SSH_USER@$SSH_IP_PROD "docker build -t jitsi-no-jutsu-backend ." - ssh -i $SSH_PRIVATE_KEY $SSH_USER@$SSH_IP "docker build -t jitsi-no-jutsu-backend ."
- ssh -i $SSH_PRIVATE_KEY $SSH_USER@$SSH_IP_PROD "docker run -d jitsi-no-jutsu-backend" - ssh -i $SSH_PRIVATE_KEY $SSH_USER@$SSH_IP "docker run -d jitsi-no-jutsu-backend"
\ No newline at end of file \ No newline at end of file
Supports Markdown
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