Pipeline now deploys all files except for those ending in .json.
This commit is contained in:
parent
7737a0f409
commit
a3f877e584
2
Jenkinsfile
vendored
2
Jenkinsfile
vendored
@ -41,7 +41,7 @@ pipeline {
|
|||||||
pwsh "ssh -o StrictHostKeyChecking=no gamehost@entertainment 'systemctl --user stop rsemcs'"
|
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 --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 ./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'"
|
pwsh "ssh gamehost@entertainment 'systemctl --user start rsemcs'"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user