Skip to content

Commit

Permalink
Create wakeup.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Little Monkey <[email protected]>
  • Loading branch information
PlaceReporter99 authored Aug 31, 2024
1 parent da772b3 commit 4a4e65e
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/wakeup.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Send message

on:
schedule:
- cron: "0 */1 * * *"
jobs:
send_message:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Install required packages
run: |
python3 -m pip install --upgrade pip
python3 -m pip install -r requirements.txt
- name: Send Message
run: python3 sendmsg.py
env:
email: ${{ secrets.BOT_EMAIL }}
password: ${{ secrets.BOT_PASSWORD }}
message: "Wake up, it's antifreeze time!"
room: '154629'

0 comments on commit 4a4e65e

Please sign in to comment.