Skip to content
Snippets Groups Projects
Commit 8457b698 authored by jurgenhaas's avatar jurgenhaas
Browse files

#10

- adjust deployment data directory structure
parent d045e9e9
No related branches found
No related tags found
No related merge requests found
......@@ -419,7 +419,7 @@ Debug:
name: ${ENVIRONMENT_NAME}
url: ${ENVIRONMENT_URL}
script:
- cd /data/app
- cd /data/${CI_COMMIT_REF_NAME}/app
- drush -y sset system.maintenance_mode 1
- cd -
- cd web/sites/default
......@@ -428,10 +428,10 @@ Debug:
- ln -s /data/default/public files
- ln -s /data/default/private private
- cd -
- rsync -rlDzq --delete ./ /data/app
- cd /data/files/public
- rsync -rlDzq --delete ./ /data/${CI_COMMIT_REF_NAME}/app
- cd /data/${CI_COMMIT_REF_NAME}/files/public
- if [[ ! -L config ]]; then ln -s /var/www/html/config/default config; fi
- cd /data/app
- cd /data/${CI_COMMIT_REF_NAME}/app
- PROXYIP=$(docker inspect traefik-traefik-1 | jq -r '.[0].NetworkSettings.Networks."traefik-public".IPAddress')
- sed -i "s/TRAEFIK-IP-PLACEHOLDER/${PROXYIP}/g" docker-compose.yml
- sed -i "s/TRAEFIK-IP-PLACEHOLDER/${PROXYIP}/g" settings/default/settings.docker.php
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment