Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bd5409ae5a | ||
|
|
a48bf9fc8c |
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user