Skip to content
Snippets Groups Projects
Commit ed078a1e authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Move the deploy config into .gitlab-ci

It's very CI specific
parent 76b24d09
No related branches found
No related tags found
No related merge requests found
Pipeline #55620 failed
...@@ -52,7 +52,7 @@ publish: ...@@ -52,7 +52,7 @@ publish:
- ssh-keyscan -t rsa "${DEPLOY_HOST}" >> ~/.ssh/known_hosts - ssh-keyscan -t rsa "${DEPLOY_HOST}" >> ~/.ssh/known_hosts
# Deploy # Deploy
- cd toolkit-showcase - cd toolkit-showcase
- dep deploy "${CI_ENVIRONMENT_NAME}" - dep deploy --file ./../.gitlab-ci/deploy.php "${CI_ENVIRONMENT_NAME}"
- echo "Deployed to ${CI_ENVIRONMENT_URL}" - echo "Deployed to ${CI_ENVIRONMENT_URL}"
# Simple health check # Simple health check
- curl --max-time 10 --retry 3 --output /dev/null --silent --show-error --fail --location "${CI_ENVIRONMENT_URL}" - curl --max-time 10 --retry 3 --output /dev/null --silent --show-error --fail --location "${CI_ENVIRONMENT_URL}"
......
...@@ -23,7 +23,7 @@ set('rsync',[ ...@@ -23,7 +23,7 @@ set('rsync',[
'timeout' => 60, 'timeout' => 60,
]); ]);
set('rsync_src', __DIR__ . '/dist'); set('rsync_src', __DIR__ . '/../toolkit-showcase/dist');
set('rsync_dest','{{release_path}}'); set('rsync_dest','{{release_path}}');
// Hosts // Hosts
......
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