From 8ae067bcec912cb4b543f476bfc8ff11cc197b87 Mon Sep 17 00:00:00 2001 From: Johannes Loher Date: Sun, 27 Dec 2020 19:31:33 +0100 Subject: [PATCH] gitlab-ci: Add deployment --- .gitlab-ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4cb32ec1..3d87155c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -48,8 +48,7 @@ deploy: dependencies: - build script: - - echo "Deploying to production..." - - ls dist + - rsync --delete -az ./dist/* rsync://${DEPLOYMENT_USER}@${DEPLOYMENT_SERVER}.kruton.de:${DEPLOYMENT_PATH} environment: name: production url: https://vtt.f3l.de/