Skip to content

Automate delete-me-discord #13

Automate delete-me-discord

Automate delete-me-discord #13

name: Automate delete-me-discord
on:
schedule:
- cron: '0 2 * * *' # Runs daily at 02:00 UTC
workflow_dispatch: # Allows manual triggering
jobs:
run-delete-me-discord:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9' # Ensure this matches your project's Python version
- name: Install delete-me-discord
run: |
python -m pip install --upgrade pip
pip install delete-me-discord==0.0.7
- name: Run delete-me-discord
env:
DISCORD_TOKEN: ${{ secrets.DISCORD_TOKEN }}
DISCORD_USER_ID: ${{ secrets.DISCORD_USER_ID }}
run: |
delete-me-discord ${{ secrets.DELETE_ME_ARGS }}