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 {
modalInfo: {
closeText: s__('EnableReviewApp|Close'),
copyToClipboardText: s__('EnableReviewApp|Copy snippet text'),
copyString: `deploy_review
copyString: `deploy_review:
stage: deploy
script:
- echo "Deploy a review app"
environment:
name: review/$CI_COMMIT_REF_NAME
url: https://$CI_ENVIRONMENT_SLUG.example.com
only: branches
except: master`,
only:
- branches
except:
- master`,
id: 'enable-review-app-info',
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