Skip to content

Send message

Send message #1416

Workflow file for this run

name: Send message
on:
workflow_dispatch:
schedule:
- cron: '0 */24 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel setuptools
if [ -f requirements.txt ]; then python -m pip install -r requirements.txt; fi
- name: Run script
run: python send_message.py
env:
DISCORD_AUTH_TOKEN: ${{ secrets.DISCORD_AUTH_TOKEN }}
DISCORD_CHANNEL_ID: ${{ secrets.DISCORD_CHANNEL_ID }}
DISCORD_USER_ID: ${{ secrets.DISCORD_USER_ID }}