Compare commits

...
2 Commits
Author SHA1 Message Date
allison bd5409ae5a restart service on deploymenet
Build and Deploy Java Project / build-and-deploy (push) Failing after 57s
2026-08-28 12:42:16 -05:00
allison a48bf9fc8c less loggy 2026-08-28 12:41:05 -05:00
2 changed files with 10 additions and 2 deletions
+10 -1
View File
@@ -37,4 +37,13 @@ jobs:
password: ${{ secrets.SERVER_PASSWORD }}
source: "target/notifier.jar"
target: "/opt/notifier"
strip_components: 1
strip_components: 1
- name: Restart Service on Server
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.SERVER_IP }}
username: ${{ secrets.SERVER_USERNAME }}
password: ${{ secrets.SERVER_PASSWORD }}
script: |
sudo systemctl restart notifier
@@ -69,7 +69,6 @@ public class DatabaseManager {
String guildId = resultSet.getString("guild_id");
String channelId = resultSet.getString("channel_id");
String messageId = resultSet.getString("message_id");
LOGGER.debug("Notifier for guild {}, channel {}, message {}", guildId, channelId, messageId);
notified.add(new Notified(guildId, channelId, messageId));
}
return notified;