Pipeline now deploys all files except for those ending in .json.

This commit is contained in:
Harrison Deng 2022-05-17 21:05:01 -05:00
parent 7737a0f409
commit a3f877e584

2
Jenkinsfile vendored
View File

@ -41,7 +41,7 @@ pipeline {
pwsh "ssh -o StrictHostKeyChecking=no gamehost@entertainment 'systemctl --user stop rsemcs'"
pwsh "rsync -a --update --exclude ./mods/ --exclude ./config/ ./** gamehost@entertainment:/home/gamehost/mcserver/"
pwsh "rsync -a --update --delete ./mods/ gamehost@entertainment:/home/gamehost/mcserver/mods"
pwsh "rsync -a --update --delete ./config/ gamehost@entertainment:/home/gamehost/mcserver/config"
pwsh "rsync -a --update --delete --exclude '*.json' ./* gamehost@entertainment:/home/gamehost/mcserver/"
pwsh "ssh gamehost@entertainment 'systemctl --user start rsemcs'"
}
}