Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SentiStrengthFront
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
0011-WeSix
SentiStrengthFront
Commits
5d8721b8
Commit
5d8721b8
authored
1 year ago
by
Yajia Liu
Browse files
Options
Downloads
Patches
Plain Diff
Update .gitlab-ci.yml file
parent
12927cea
No related branches found
Branches containing commit
Tags
v0.36
v0.37
Tags containing commit
2 merge requests
!13
Yajialiu
,
!12
测试release
Pipeline
#63269
canceled
1 year ago
Changes
1
Pipelines
5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+6
-0
6 additions, 0 deletions
.gitlab-ci.yml
with
6 additions
and
0 deletions
.gitlab-ci.yml
+
6
−
0
View file @
5d8721b8
...
...
@@ -44,6 +44,8 @@ package-dev:
rules
:
-
if
:
$CI_COMMIT_BRANCH == "master"
when
:
never
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
when
:
never
-
when
:
on_success
script
:
-
echo "start package"
...
...
@@ -87,6 +89,8 @@ deploy-dev: # This job runs in the deploy stage.
rules
:
-
if
:
$CI_COMMIT_BRANCH == "master"
when
:
never
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
when
:
never
-
when
:
on_success
script
:
-
echo "Deploying dev application..."
...
...
@@ -96,6 +100,8 @@ deploy-dev: # This job runs in the deploy stage.
deploy-stable
:
# This job runs in the deploy stage.
stage
:
deploy-stable
# It only runs when *both* jobs in the test stage complete successfully.
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "merge_request_event"
when
:
never
-
if
:
$CI_COMMIT_BRANCH == "master"
when
:
manual
script
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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