Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Edadil
MS
model
Commits
99a25aae
Commit
99a25aae
authored
1 month ago
by
Шаронов Егор Алексеевич
Browse files
Options
Download
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
1cbc7b8e
master
No related merge requests found
Pipeline
#172765
passed with stages
in 1 minute and 43 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+1
-1
.gitlab-ci.yml
with
1 addition
and
1 deletion
+1
-1
.gitlab-ci.yml
+
1
−
1
View file @
99a25aae
...
...
@@ -42,7 +42,7 @@ deploy:
-
apk add --no-cache openssh-client sshpass docker-compose
script
:
-
sshpass -p "$SSH_PASSWORD" scp -o StrictHostKeyChecking=no deployment/docker-compose.yml $SSH_USER@$SSH_HOST:/root/deployment/docker-compose.yml
-
sshpass -p "$SSH_PASSWORD" ssh -o StrictHostKeyChecking=no $SSH_USER@$SSH_HOST "cd /root/deployment && docker-compose pull && docker-compose up -d"
-
sshpass -p "$SSH_PASSWORD" ssh -o StrictHostKeyChecking=no $SSH_USER@$SSH_HOST "cd /root/deployment && docker-compose pull && docker-compose
--profile full
up -d"
only
:
-
master
when
:
manual
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets