chore: fix github actions missing pnpm

This commit is contained in:
DIYgod 2022-08-15 22:35:47 +01:00
parent dc679fee6d
commit e80b99de5a
No known key found for this signature in database
GPG Key ID: D159328F47A80DCA
1 changed files with 9 additions and 15 deletions

View File

@ -37,18 +37,12 @@ jobs:
- name: Install dependencies
run: pnpm install
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: npm run docs:build
BUILD_DIR: docs/.vuepress/dist
CNAME: dplayer.js.org
- 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 docs:build
BUILD_DIR: docs/.vuepress/dist
CNAME: dplayer.js.org