mirror of
https://gitlab.dit.htwk-leipzig.de/htwk-software/htwkalender-pwa.git
synced 2025-07-16 09:38:51 +02:00
fix:#59 fixed main deploy sed
This commit is contained in:
@ -181,7 +181,7 @@ deploy-all:
|
|||||||
- ssh-add <(echo "$CI_SSH_KEY" | tr -d '\r')
|
- ssh-add <(echo "$CI_SSH_KEY" | tr -d '\r')
|
||||||
script:
|
script:
|
||||||
# replace some placeholders
|
# replace some placeholders
|
||||||
- sed -i -e "s|REGISTRY_REPO|$CI_REGISTRY_REPO|" docker-compose.prod.yml
|
- sed -i -e "s|DOCKER_REGISTRY_REPO|$CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG|" docker-compose.prod.yml
|
||||||
# upload necessary files to the server
|
# upload necessary files to the server
|
||||||
- >
|
- >
|
||||||
scp -P $CI_SSH_PORT -o StrictHostKeyChecking=no -o LogLevel=ERROR ./docker-compose.prod.yml ./reverseproxy.conf
|
scp -P $CI_SSH_PORT -o StrictHostKeyChecking=no -o LogLevel=ERROR ./docker-compose.prod.yml ./reverseproxy.conf
|
||||||
|
Reference in New Issue
Block a user