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

Move the deployment code into .gitlab-ci

It's only relevant for CI
parent 0510260d
No related branches found
No related tags found
No related merge requests found
Pipeline #50914 passed
......@@ -55,7 +55,7 @@ publish:
- chmod 700 ~/.ssh && chmod 600 ~/.ssh/id_rsa
- ssh-keyscan -t rsa "${DEPLOY_HOST}" >> ~/.ssh/known_hosts
# Deploy
- dep deploy "${CI_ENVIRONMENT_NAME}"
- dep deploy --file ./.gitlab-ci/deploy.php "${CI_ENVIRONMENT_NAME}"
- echo "Deployed to ${CI_ENVIRONMENT_URL}"
# Simple health check
- curl --max-time 10 --retry 3 --output /dev/null --silent --show-error --fail --location "${CI_ENVIRONMENT_URL}"
......
......@@ -23,7 +23,7 @@ set('rsync',[
'timeout' => 60,
]);
set('rsync_src', __DIR__ . '/dist');
set('rsync_src', __DIR__ . '/../dist');
set('rsync_dest','{{release_path}}');
// Hosts
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment