Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 0318ffb

Browse files
committedFeb 18, 2020
feat: now cli v17
1 parent 1b68c85 commit 0318ffb

File tree

3 files changed

+11
-21
lines changed

3 files changed

+11
-21
lines changed
 

‎.github/workflows/example-angular.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ jobs:
1414
cd example/angular
1515
npm install
1616
npx ng build --prod
17-
- uses: amondnet/now-deployment@v1
17+
- uses: ./
1818
id: now-deployment
1919
with:
2020
github-token: ${{ secrets.GITHUB_TOKEN }}
2121
zeit-token: ${{ secrets.ZEIT_TOKEN }}
22-
now-args: '--prod example/angular/dist/angular'
22+
now-org-id: ${{ secrets.NOW_ORG_ID }}
23+
now-project-id: $$ {{ secrets.NOW_PROJECT_ID_ANGULAR }}
24+
working-directory: example/angular/dist/angular
25+
now-args: '--prod '

‎.github/workflows/example-static.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,13 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v1
12-
- uses: amondnet/now-deployment@v1
12+
- uses: ./
1313
id: now-deployment
1414
with:
1515
github-token: ${{ secrets.GITHUB_TOKEN }}
1616
zeit-token: ${{ secrets.ZEIT_TOKEN }}
17-
now-args: '--prod example/static'
17+
now-org-id: ${{ secrets.NOW_ORG_ID }}
18+
now-project-id: $$ {{ secrets.NOW_PROJECT_ID_STATIC }}
19+
now-args: '--prod'
20+
working-directory: example/static
21+

‎.github/workflows/prod.yml

-17
This file was deleted.

0 commit comments

Comments
 (0)
Please sign in to comment.