Commit dd5d8e61 authored by liziwl's avatar liziwl Committed by Sparkf
Browse files

Create vuepress-deploy.yml

parent 70dbfd78
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
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: SUSTC/sustech-online-ng
        TARGET_BRANCH: master
        BUILD_SCRIPT: yarn && yarn build
        BUILD_DIR: blog/.vuepress/dist/