Commit 7dca5dbe authored by Ricky Wiens's avatar Ricky Wiens Committed by Marcel Amirault

Fixing YML in review app docs and screenshot

- There's a screenshot
https://docs.gitlab.com/ee/ci/review_apps/#enable-review-apps-button
with incorrect YML. The incorrect YML was also inside the application.
This commit fixes the YML and the screenshot so that it will pass the
CI linting.
parent 25fddbf4
...@@ -26,15 +26,17 @@ export default { ...@@ -26,15 +26,17 @@ export default {
modalInfo: { modalInfo: {
closeText: s__('EnableReviewApp|Close'), closeText: s__('EnableReviewApp|Close'),
copyToClipboardText: s__('EnableReviewApp|Copy snippet text'), copyToClipboardText: s__('EnableReviewApp|Copy snippet text'),
copyString: `deploy_review copyString: `deploy_review:
stage: deploy stage: deploy
script: script:
- echo "Deploy a review app" - echo "Deploy a review app"
environment: environment:
name: review/$CI_COMMIT_REF_NAME name: review/$CI_COMMIT_REF_NAME
url: https://$CI_ENVIRONMENT_SLUG.example.com url: https://$CI_ENVIRONMENT_SLUG.example.com
only: branches only:
except: master`, - branches
except:
- master`,
id: 'enable-review-app-info', id: 'enable-review-app-info',
title: s__('ReviewApp|Enable Review App'), title: s__('ReviewApp|Enable Review App'),
}, },
......
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