Minor changes to deployment process

This commit is contained in:
kageru 2019-11-14 15:30:52 +01:00
parent 39083d8248
commit d354821881
Signed by: kageru
GPG Key ID: 8282A2BEA4ADA3D2
2 changed files with 2 additions and 4 deletions

View File

@ -1,2 +1,2 @@
#!/bin/sh
ktlint --disabled_rules import-ordering,no-wildcard-imports
ktlint --disabled_rules import-ordering,no-wildcard-imports && gradle test

View File

@ -1,6 +1,4 @@
#!/bin/sh
if ./check.sh && gradle test; then
gradle shadowjar
scp build/libs/moe.kageru.kagebot-0.1-all.jar lain:/home/selphybot/bot.jar
if ./check.sh; then
ssh lain sudo systemctl restart selphybot.service
fi