docs: add GitLab GIT_STRATEGY for stop_preview_app

Use `GIT_STRATEGY: none` in `stop_review_app` to make job work after successful
merges and when the branch was deleted.

Without this, the application is not stopped when the branch is deleted on merge as the runner pulls the git repository by default, but cannot find the tree in this moment.

[skip ci]
This commit is contained in:
René Stalder authored and GitHub committed 2019-04-23 10:17:50 +02:00
1 parent bb494b69ea
commit f6cc77bc3a
1 file changed
+2
@@ -87,6 +87,8 @@ The above only runs for non-master branches, and will _also_ trigger an `on_stop
stop_review_app:
image: ilyasemenov/gitlab-ci-git-push
stage: deploy
variables:
GIT_STRATEGY: none
environment:
name: review/$CI_COMMIT_REF_NAME
action: stop