Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mould-vuecli3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lhfe
mould-vuecli3
Commits
91126155
Commit
91126155
authored
Oct 13, 2020
by
lipengcheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xxx1
parent
a59c706d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
.gitlab-ci.yml
.gitlab-ci.yml
+2
-2
No files found.
.gitlab-ci.yml
View file @
91126155
...
...
@@ -72,10 +72,10 @@ job-deploy:
-
pwd
-
whoami
-
ssh root@119.45.165.197 "docker pull ${ImageName}"
-
ssh root@119.45.165.197 "
docker rm -f ${ContainerName}
"
-
ssh root@119.45.165.197 "
if [ $(docker ps -aq --filter name=${ContainerName}) ]; then docker rm -f ${ContainerName};fi
"
-
ssh root@119.45.165.197 "docker images"
-
ssh root@119.45.165.197 "docker ps"
-
ssh root@119.45.165.197 "docker run -itd -p 84:80 ${ImageName}"
-
ssh root@119.45.165.197 "docker run -itd -p 84:80
--name ${ContainerName}
${ImageName}"
-
sh ./notification_boot.sh "on_success" ${CI_COMMIT_REF_SLUG} ${CI_COMMIT_SHA:0:8} "PackageName_productionRelease_${CI_COMMIT_REF_SLUG}_${CI_COMMIT_SHA:0:8}"
-
echo '启动成功...'
tags
:
...
...
Write
Preview
Markdown
is supported
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