Commit 1529d089 authored by Russell Dickenson's avatar Russell Dickenson

Merge branch 'docs-fix-environments-when' into 'master'

Fix environments CI example

See merge request gitlab-org/gitlab!74345
parents 3f51bfe0 091cb028
...@@ -159,9 +159,9 @@ deploy_prod: ...@@ -159,9 +159,9 @@ deploy_prod:
environment: environment:
name: production name: production
url: https://example.com url: https://example.com
when: manual
rules: rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
when: manual
``` ```
The `when: manual` action: The `when: manual` action:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment