mirror of
https://github.com/CodePanda66/CSPostgraduate-408.git
synced 2023-05-21 21:49:33 +08:00
Merge pull request #2 from KimYangOfCat/KimYangOfCat-patch-1
Vuepress deploy
This commit is contained in:
23
.github/workflows/vuepress-deploy.yml
vendored
Normal file
23
.github/workflows/vuepress-deploy.yml
vendored
Normal 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/
|
||||
Reference in New Issue
Block a user