Created
October 17, 2021 17:01
-
-
Save jasonruesch/50a7abfdade1385fd2e7c42502cb2b5d to your computer and use it in GitHub Desktop.
Add deploy target to the web project
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"projectType": "application", | |
"root": "apps/web", | |
"sourceRoot": "apps/web/src", | |
"prefix": "cb", | |
"targets": { | |
... | |
"deploy": { | |
"executor": "@nrwl/workspace:run-commands", | |
"options": { | |
"commands": [ | |
{ | |
"command": "nx run web:build" | |
}, | |
{ | |
"command": "firebase deploy --only hosting" | |
} | |
], | |
"parallel": false | |
} | |
}, | |
... | |
}, | |
"tags": [ | |
"type:app", | |
"scope:web" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment