Skip to content

Commit

Permalink
Merge pull request #26 from medistream-team/feature/add-vuepress-deploy
Browse files Browse the repository at this point in the history
Add: add vuepress deploy workflow
  • Loading branch information
ktseo41 committed Sep 7, 2021
2 parents e2d394b + d4d54a0 commit bc1227c
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/vuepress-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Vuepress Deploy
on:
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-verions: '14'

- name: Checkout
uses: actions/checkout@master

- name: Install Dependencies
run: npm install

- name: Webpack build
run: npm run build

- name: vuepress-deploy
uses: jenkey2011/vuepress-deploy@master
env:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
TARGET_BRANCH: gh-pages
BUILD_SCRIPT: npm install && npm run docs:build
BUILD_DIR: docs/.vuepress/dist/

0 comments on commit bc1227c

Please sign in to comment.