2023-02-01 00:08:43 +08:00
|
|
|
name: 'Bt'
|
|
|
|
|
2023-04-30 14:38:49 +08:00
|
|
|
on: [push]
|
|
|
|
#workflow_dispatch:
|
|
|
|
#schedule:
|
|
|
|
# - cron: '0 21 * * *'
|
2023-02-01 00:08:43 +08:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
bot:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- name: 'Checkout codes'
|
2023-04-30 14:59:12 +08:00
|
|
|
uses: actions/checkout@v3
|
2023-02-01 00:08:43 +08:00
|
|
|
- name: 'Get Tracker'
|
|
|
|
run: bash ./bt.sh
|
|
|
|
- name: Deploy
|
2023-04-30 14:51:25 +08:00
|
|
|
uses: https://github.com/peaceiris/actions-gh-pages@v3
|
2023-02-01 00:08:43 +08:00
|
|
|
with:
|
|
|
|
github_token: ${{ secrets.TRACKER_TOKEN }}
|
2023-02-01 00:09:58 +08:00
|
|
|
PUBLISH_BRANCH: BT_Merge
|
2023-02-01 00:08:43 +08:00
|
|
|
publish_dir: ./tracker
|