chore: add github workflow
This commit is contained in:
parent
d1c32f66db
commit
064dccdff3
|
|
@ -0,0 +1,18 @@
|
|||
name: Build and Deploy
|
||||
on: [push]
|
||||
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.ACCESS_TOKEN }}
|
||||
TARGET_REPO: DIYgod/DPlayer
|
||||
TARGET_BRANCH: gh-pages
|
||||
BUILD_SCRIPT: pnpm i && pnpm docs:build
|
||||
BUILD_DIR: docs/.vuepress/dist
|
||||
CNAME: dplayer.js.org
|
||||
Loading…
Reference in New Issue