ci: deploy to web servers (prod)

This commit is contained in:
Ming Di Leom 2021-03-12 08:10:27 +00:00
parent 9eddf0d422
commit 82a3255b68
No known key found for this signature in database
GPG Key ID: 32D3E28E96A695E8
1 changed files with 2 additions and 2 deletions

View File

@ -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