Skip to content

Commit

Permalink
fix(workflow): update now command
Browse files Browse the repository at this point in the history
  • Loading branch information
ph1p committed Mar 15, 2020
1 parent ab158aa commit c5c2c73
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/now-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
cmd: test

- name: Deploy example to now
env:
NOW_ORG_ID: ${{ secrets.NOW_ORG_ID }}
NOW_PROJECT_ID: ${{ secrets.NOW_PROJECT_ID }}
run: |
cd example
npm run docs
npx now --token=${{ secrets.ZEIT_TOKEN }} --name=vuepress-jsdoc-example --prod
npx now -c --prod -t ${{ secrets.ZEIT_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/test-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
release:
runs-on: ubuntu-latest
needs: test
steps:
- uses: actions/checkout@v1
- name: Make stable release to npm
Expand Down
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
# for Jetbrains IDEA ides
.idea
coverage
coverage
.now
2 changes: 1 addition & 1 deletion example/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "example",
"name": "vuepress-jsdoc-example",
"version": "1.0.0",
"description": "",
"main": "index.js",
Expand Down

0 comments on commit c5c2c73

Please sign in to comment.