Create main.yml
This commit is contained in:
parent
8b79b090cb
commit
f4ecf5ff05
1 changed files with 21 additions and 0 deletions
21
.github/workflows/main.yml
vendored
Normal file
21
.github/workflows/main.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
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
|
Loading…
Reference in a new issue