vuepress-deploy.yml 590 B

1234567891011121314151617181920212223
  1. name: Build and Deploy vuepress
  2. on: [push]
  3. jobs:
  4. build-and-deploy:
  5. runs-on: ubuntu-latest
  6. steps:
  7. - name: Checkout
  8. uses: actions/checkout@master
  9. - name: vuepress-deploy
  10. uses: jenkey2011/vuepress-deploy@master
  11. env:
  12. ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
  13. TARGET_REPO: jbaysolutions/vue-grid-layout
  14. TARGET_BRANCH: gh-pages
  15. BUILD_SCRIPT: cd website && yarn && yarn build
  16. BUILD_DIR: public
  17. - name: test:unit
  18. run: |
  19. yarn
  20. yarn test:unit
  21. yarn test:cover