Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
OSSD
2020
Kompeni
Jitsi No Jutsu Backend
Commits
81aae608
Commit
81aae608
authored
Oct 26, 2020
by
Naufaldi Athallah Rifqi
Browse files
fix ci
parent
24d7afe5
Pipeline
#59601
failed with stage
in 32 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
81aae608
...
...
@@ -14,6 +14,6 @@ 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 main"
-
ssh $SSH_PRIVATE_KEY $SSH_USER@$SSH_IP_PROD "docker stop jitsi-no-jutsu-backend ||
true
&& docker rm jitsi-no-jutsu-backend"
-
ssh $SSH_PRIVATE_KEY $SSH_USER@$SSH_IP_PROD "docker build -t jitsi-no-jutsu-backend ."
-
ssh $SSH_PRIVATE_KEY $SSH_USER@$SSH_IP_PROD "docker run -d jitsi-no-jutsu-backend"
\ No newline at end of file
-
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_PROD "docker build -t jitsi-no-jutsu-backend ."
-
ssh -i $SSH_PRIVATE_KEY $SSH_USER@$SSH_IP_PROD "docker run -d jitsi-no-jutsu-backend"
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment