Skip to content

Commit c5c2c73

Browse files
committed
fix(workflow): update now command
1 parent ab158aa commit c5c2c73

File tree

4 files changed

+8
-3
lines changed

4 files changed

+8
-3
lines changed

.github/workflows/now-deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
cmd: test
1616

1717
- name: Deploy example to now
18+
env:
19+
NOW_ORG_ID: ${{ secrets.NOW_ORG_ID }}
20+
NOW_PROJECT_ID: ${{ secrets.NOW_PROJECT_ID }}
1821
run: |
1922
cd example
2023
npm run docs
21-
npx now --token=${{ secrets.ZEIT_TOKEN }} --name=vuepress-jsdoc-example --prod
24+
npx now -c --prod -t ${{ secrets.ZEIT_TOKEN }}

.github/workflows/test-and-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
2828
release:
2929
runs-on: ubuntu-latest
30+
needs: test
3031
steps:
3132
- uses: actions/checkout@v1
3233
- name: Make stable release to npm

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules
22
# for Jetbrains IDEA ides
33
.idea
4-
coverage
4+
coverage
5+
.now

example/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "example",
2+
"name": "vuepress-jsdoc-example",
33
"version": "1.0.0",
44
"description": "",
55
"main": "index.js",

0 commit comments

Comments
 (0)