mirror of https://gitlab.com/curben/blog
ci: deploy to web servers (prod)
This commit is contained in:
parent
9eddf0d422
commit
82a3255b68
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue