Compare commits
2
Commits
61473c5dee
...
d2372a98fa
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d2372a98fa | ||
|
|
0c6e4c7235 |
No files matched your search
@@ -37,7 +37,7 @@ jobs:
|
|||||||
username: ${{ secrets.SERVER_USER }}
|
username: ${{ secrets.SERVER_USER }}
|
||||||
key: ${{ secrets.SERVER_SSH_KEY }}
|
key: ${{ secrets.SERVER_SSH_KEY }}
|
||||||
script: |
|
script: |
|
||||||
docker pull git.allucanget.biz/${{ secrets.REGISTRY_USERNAME }}/thc-webhook:latest
|
|
||||||
docker stop thc-webhook || true
|
docker stop thc-webhook || true
|
||||||
docker rm thc-webhook || true
|
docker rm thc-webhook || true
|
||||||
|
docker pull git.allucanget.biz/${{ secrets.REGISTRY_USERNAME }}/thc-webhook:latest
|
||||||
docker run -d --name thc-webhook -e DISCORD_WEBHOOK_URL=${{ secrets.DISCORD_WEBHOOK_URL }} -p 8080:8080 git.allucanget.biz/${{ secrets.REGISTRY_USERNAME }}/thc-webhook:latest
|
docker run -d --name thc-webhook -e DISCORD_WEBHOOK_URL=${{ secrets.DISCORD_WEBHOOK_URL }} -p 8080:8080 git.allucanget.biz/${{ secrets.REGISTRY_USERNAME }}/thc-webhook:latest
|
||||||
@@ -747,8 +747,8 @@ def main() -> None:
|
|||||||
# start_dashboard()
|
# start_dashboard()
|
||||||
|
|
||||||
# Schedule notifications
|
# Schedule notifications
|
||||||
# schedule.every().hour.at(":15").do(send_notification, "reminder")
|
schedule.every().hour.at(":15").do(send_notification, "reminder")
|
||||||
# schedule.every().hour.at(":20").do(send_notification, "420")
|
schedule.every().hour.at(":20").do(send_notification, "420")
|
||||||
# schedule.every().hour.at(":45").do(send_notification, "reminder_halftime")
|
# schedule.every().hour.at(":45").do(send_notification, "reminder_halftime")
|
||||||
# schedule.every().hour.at(":50").do(send_notification, "halftime")
|
# schedule.every().hour.at(":50").do(send_notification, "halftime")
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user