添加直播信息流和开关播的强制需求 (#1323) #280
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: deploy and pubish | |
on: [push] | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
if: github.repository == 'SocialSisterYi/bilibili-API-collect' | |
steps: | |
- name: Checkout | |
uses: actions/checkout@master | |
- name: vuepress-deploy | |
uses: jenkey2011/vuepress-deploy@master | |
env: | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
TARGET_REPO: SocialSisterYi/bilibili-API-collect | |
TARGET_BRANCH: gh_pages | |
BUILD_SCRIPT: yarn && yarn build | |
BUILD_DIR: .vuepress/dist/ |