From 82a3255b68f718e8ce47befbd2564171586a16d1 Mon Sep 17 00:00:00 2001 From: Ming Di Leom <2809763-curben@users.noreply.gitlab.com> Date: Fri, 12 Mar 2021 08:10:27 +0000 Subject: [PATCH] ci: deploy to web servers (prod) --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24dc812..27eae18 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,8 +30,8 @@ test: - npm run build # Generate site after_script: - - rsync -azvh --delete --dry-run public/ host-1:/var/www/ - #- rsync -azvh --delete --dry-run public/ host-2:/var/www/ + - rsync -azvh --delete public/ host-1:/var/www/ + - rsync -azvh --delete public/ host-2:/var/www/ rules: # Only trigger through push & "Run pipeline" events in master branch; Skip in renovate job