Merge pull request #963 from GalaxySnail/update-bv-python #169
This file contains 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/ |