WORKS: .gitlab-ci

Signed-off-by: Marcin Woźniak <y0rune@aol.com>
This commit is contained in:
Marcin Woźniak 2020-11-26 23:15:42 +01:00
parent 38e28ea536
commit 0d778051f6
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -28,7 +28,7 @@ deploy_production:
- mkdir -p ~/.ssh - mkdir -p ~/.ssh
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config' - '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
- echo "Deploying to server" - echo "Deploying to server"
- rsync --progress -r build/* --delete website@wmi-frontend.pl:/var/www/plannaplan.pl - rsync --progress -r build/* --delete website@wmi-frontend.plannaplan.pl:/var/www/plannaplan.pl
- echo "Deployed" - echo "Deployed"
only: only:
- master - master