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

22 lines
420 B
YAML
Raw Normal View History

2023-01-31 22:41:37 +08:00
name: 'test_Bt'
2023-01-31 22:22:11 +08:00
on:
2023-01-31 22:29:01 +08:00
workflow_dispatch:
2023-01-31 22:25:45 +08:00
schedule:
2023-01-31 23:11:53 +08:00
- cron: '0 0 * * 0'
2023-01-31 22:22:11 +08:00
jobs:
2023-01-31 22:41:37 +08:00
bot:
2023-01-31 22:22:11 +08:00
runs-on: ubuntu-latest
2023-01-31 22:44:02 +08:00
steps:
2023-01-31 22:39:56 +08:00
- name: 'Checkout codes'
2023-01-31 23:08:16 +08:00
uses: actions/checkout@v2
2023-01-31 22:44:02 +08:00
- name: 'Get Tracker'
run: bash ./bt.sh
2023-01-31 23:33:57 +08:00
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
2023-01-31 23:15:28 +08:00
with:
2023-01-31 23:47:41 +08:00
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./tracker