Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
TPA
status-site
Commits
fe52970c
Verified
Commit
fe52970c
authored
Nov 17, 2021
by
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
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
fe52970c
...
...
@@ -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
]
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment