Minor changes to deployment process
This commit is contained in:
parent
39083d8248
commit
d354821881
2
check.sh
2
check.sh
|
@ -1,2 +1,2 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
ktlint --disabled_rules import-ordering,no-wildcard-imports
|
ktlint --disabled_rules import-ordering,no-wildcard-imports && gradle test
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
if ./check.sh && gradle test; then
|
if ./check.sh; then
|
||||||
gradle shadowjar
|
|
||||||
scp build/libs/moe.kageru.kagebot-0.1-all.jar lain:/home/selphybot/bot.jar
|
|
||||||
ssh lain sudo systemctl restart selphybot.service
|
ssh lain sudo systemctl restart selphybot.service
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue
Block a user