Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
holi-chat-server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
app
holi-chat-server
Commits
89e566c8
Commit
89e566c8
authored
3 weeks ago
by
Ole Langbehn
Browse files
Options
Downloads
Patches
Plain Diff
fix: switch from deprecated only to rules, dont use changes rules on manual builds
parent
90be6738
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+12
-8
12 additions, 8 deletions
.gitlab-ci.yml
with
12 additions
and
8 deletions
.gitlab-ci.yml
+
12
−
8
View file @
89e566c8
...
...
@@ -79,14 +79,16 @@ staging_deploy:
url
:
https://development-chat.holi.social
variables
:
ENVIRONMENT_ID
:
staging
only
:
-
main
rules
:
-
if
:
$CI_COMMIT_BRANCH == "main"
when
:
on_success
staging_smoketest
:
extends
:
.smoketest
needs
:
[
'
staging_deploy'
]
only
:
-
main
rules
:
-
if
:
$CI_COMMIT_BRANCH == "main"
when
:
on_success
production_deploy
:
extends
:
.deploy
...
...
@@ -97,11 +99,13 @@ production_deploy:
url
:
https://chat.holi.social
variables
:
ENVIRONMENT_ID
:
production
only
:
-
production
rules
:
-
if
:
$CI_COMMIT_BRANCH == "production"
when
:
on_success
production_smoketest
:
extends
:
.smoketest
needs
:
[
'
production_deploy'
]
only
:
-
production
rules
:
-
if
:
$CI_COMMIT_BRANCH == "production"
when
:
on_success
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