1 | name: Deploy example on now
|
2 |
|
3 | on: [push]
|
4 |
|
5 | jobs:
|
6 | deploy_example:
|
7 | runs-on: ubuntu-latest
|
8 | steps:
|
9 | - uses: actions/checkout@v1
|
10 | - uses: borales/actions-yarn@v2.0.0
|
11 | with:
|
12 | cmd: install
|
13 | - uses: borales/actions-yarn@v2.0.0
|
14 | with:
|
15 | cmd: test
|
16 |
|
17 | - name: Deploy example to now
|
18 | run: |
|
19 | cd example
|
20 | npm run docs
|
21 | npx now --token=${{ secrets.ZEIT_TOKEN }} --name=vuepress-jsdoc-example --prod
|
22 |
|
\ | No newline at end of file |