Skip to content

Commit f73a2cb

Browse files
committed
feat: Merge Deploy and Alias in one npm script
1 parent 944aac3 commit f73a2cb

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

.circleci/config.yml

-3
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,6 @@ jobs:
6666
- run:
6767
name: Deploy Docs to Zeit
6868
command: npm run docs:deploy
69-
- run:
70-
name: Aliasing Deployment
71-
command: npm run docs:deploy:alias
7269

7370
publish-job:
7471
docker:

package.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
"test": "karma start",
1616
"semantic-release": "semantic-release",
1717
"docs": "typedoc",
18-
"docs:deploy": "now ./docs/typedoc -A ../../now.json --public --team $TEAM_NAME --token $NOW_TOKEN",
19-
"docs:deploy:alias": "now alias --token $NOW_TOKEN"
18+
"docs:deploy": "now ./docs/typedoc -A ../../now.json --public --team $TEAM_NAME --token $NOW_TOKEN && now alias --team $TEAM_NAME --token $NOW_TOKEN"
2019
},
2120
"author": {
2221
"name": "Yann Renaudin",

0 commit comments

Comments
 (0)