Merge pull request #2 from KimYangOfCat/KimYangOfCat-patch-1

Vuepress deploy
This commit is contained in:
kimYang
2020-08-16 20:08:04 +08:00
committed by GitHub

23
.github/workflows/vuepress-deploy.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
name: vuepress-deploy
on:
push:
branches: [ dev-web]
pull_request:
branches: [ dev-web ]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.DEPLOY_TOKEN }}
TARGET_REPO: KimYangOfCat/2021-CSPostgraduate-408
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: yarn && yarn build
BUILD_DIR: Notes/.vuepress/dist/