Merge pull request #1112 from LightQuanta/patch-1 #229
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/ |