Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
chinguyen_nodejs_managestudents
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
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
chinguyen
chinguyen_nodejs_managestudents
Commits
046c2b68
Commit
046c2b68
authored
Feb 17, 2022
by
dangdoan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[tag]2.17.11.2
parent
2d84bb30
Pipeline
#13088
passed with stages
in 1 minute and 36 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
.gitlab-ci.yml
.gitlab-ci.yml
+2
-1
No files found.
.gitlab-ci.yml
View file @
046c2b68
...
...
@@ -28,6 +28,7 @@ deploy:
-
cicd_path=$(pwd)/cicd
-
export CI_REGISTRY_PW=$CI_REGISTRY_PW
-
export CI_REGISTRY_USER=$CI_REGISTRY_USER
-
tag=$(echo $CI_COMMIT_MESSAGE | sed -r 's/.*(\[tag\])//')
-
|
if [ ! -d $mount_data_folder ]; then
sudo mkdir $mount_data_folder
...
...
@@ -39,7 +40,7 @@ deploy:
sudo chown -R gitlab-runner.gitlab-runner $mount_data_folder/$project_name
fi
script
:
-
export tag=
dev
-
export tag=
$tag
-
bash $cicd_path/deploy.sh
only
:
-
release
...
...
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