Verified Commit fe52970c authored by anarcat's avatar anarcat
Browse files

deploy status-site review apps in a subdir

This will avoid clashing with other projects.
parent 87f08a6d
Pipeline #18635 passed with stage
in 10 seconds
......@@ -48,10 +48,10 @@ deploy-static:
deploy-review:
stage: deploy
variables:
REMOTE_SUBDIR: public/$CI_ENVIRONMENT_SLUG
REMOTE_SUBDIR: public/$CI_PROJECT_PATH/$CI_ENVIRONMENT_SLUG
environment:
name: review/$CI_COMMIT_REF_SLUG
url: https://review.torproject.org/$CI_ENVIRONMENT_SLUG
url: https://review.torproject.org/$CI_PROJECT_PATH/$CI_ENVIRONMENT_SLUG
on_stop: stop-review
rules:
- if: '$CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH'
......@@ -67,7 +67,7 @@ stop-review:
name: review/$CI_COMMIT_REF_SLUG
action: stop
variables:
REMOTE_SUBDIR: public/$CI_ENVIRONMENT_SLUG
REMOTE_SUBDIR: public/$CI_PROJECT_PATH/$CI_ENVIRONMENT_SLUG
when: manual
stage: deploy
image: !reference [deploy-static, image]
......
Supports Markdown
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