Bt-Tracker-Merge/.github/workflows/main.yml

22 lines
442 B
YAML
Raw Normal View History

2023-02-01 00:08:43 +08:00
name: 'Bt'
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 0'
jobs:
bot:
runs-on: ubuntu-latest
steps:
- name: 'Checkout codes'
uses: actions/checkout@v2
- name: 'Get Tracker'
run: bash ./bt.sh
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.TRACKER_TOKEN }}
PUBLISH_BRANCH: main
publish_dir: ./tracker