Created
October 17, 2021 17:02
-
-
Save jasonruesch/a57ffd082e1e967d589a89c024888bb3 to your computer and use it in GitHub Desktop.
Add deploy target to the api 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
{ | |
"root": "apps/api", | |
"sourceRoot": "apps/api/src", | |
"projectType": "application", | |
"targets": { | |
... | |
"deploy": { | |
"executor": "@nrwl/workspace:run-commands", | |
"options": { | |
"commands": [ | |
{ | |
"command": "nx run api:build" | |
}, | |
{ | |
"command": "firebase deploy --only functions" | |
} | |
], | |
"parallel": false | |
} | |
}, | |
... | |
}, | |
"tags": [ | |
"type:app", | |
"scope:api" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment