28 lines
847 B
YAML
28 lines
847 B
YAML
name: ReleaseBot
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '18 */2 * * *'
|
|
jobs:
|
|
deploy:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Setup Python
|
|
uses: actions/setup-python@v3
|
|
with:
|
|
python-version: "3.13"
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
|
- name: Run release_check.py
|
|
run:
|
|
python release_check.py
|
|
env:
|
|
BOTS_ENDPOINT: ${{ secrets.BOTS_ENDPOINT }}
|
|
PUSHOVER_ENDPOINT: ${{ secrets.PUSHOVER_ENDPOINT }}
|
|
PUSHOVER_USER_TOKEN: ${{ secrets.PUSHOVER_USER_TOKEN }}
|
|
PUSHOVER_BOTS_TOKEN: ${{ secrets.PUSHOVER_BOTS_TOKEN }}
|
|
REPO_LINKS: ${{ secrets.REPO_LINKS }}
|