Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/ci/migration/circleci.md')
-rw-r--r--doc/ci/migration/circleci.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/ci/migration/circleci.md b/doc/ci/migration/circleci.md
index 7255d9aec82..efe11466674 100644
--- a/doc/ci/migration/circleci.md
+++ b/doc/ci/migration/circleci.md
@@ -136,6 +136,7 @@ job3:
job4:
stage: deploy
script: make deploy
+ environment: production
```
#### Scheduled run
@@ -196,6 +197,7 @@ deploy_prod:
script:
- echo "Deploy to production server"
when: manual
+ environment: production
```
### Filter job by branch
@@ -222,6 +224,7 @@ deploy:
- echo "Deploy job"
rules:
- if: $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_BRANCH =~ /^rc-/
+ environment: production
```
### Caching