fix promotion by adding the SID in the config
This commit is contained in:
parent
fa2fa11449
commit
fad9539bd3
@ -47,13 +47,13 @@ jobs:
|
|||||||
- name: run staging integration test
|
- name: run staging integration test
|
||||||
run: bun integ-test:staging
|
run: bun integ-test:staging
|
||||||
|
|
||||||
- name: Deploy Doorman UI and API
|
- name: Promote Doorman UI and API staging to prod
|
||||||
run: bun run deploy-serverless
|
run: bun run deploy-serverless
|
||||||
env:
|
env:
|
||||||
ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
|
ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
|
||||||
AUTH_TOKEN: ${{ secrets.TWILIO_AUTH_TOKEN }}
|
AUTH_TOKEN: ${{ secrets.TWILIO_AUTH_TOKEN }}
|
||||||
|
|
||||||
- name: Deploy Doorman Buzzer Client
|
- name: Promote Doorman Buzzer Client staging to prod
|
||||||
run: bun run deploy-buzzer-client
|
run: bun run deploy-buzzer-client
|
||||||
env:
|
env:
|
||||||
ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
|
ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
|
||||||
|
|||||||
@ -3,6 +3,9 @@
|
|||||||
"environments": {},
|
"environments": {},
|
||||||
"projects": {},
|
"projects": {},
|
||||||
"functionsFolder": "./build/functions",
|
"functionsFolder": "./build/functions",
|
||||||
|
"serviceSid": "ZS90954ff78d193d18a61ad84bde392b0d",
|
||||||
|
"runtime": "node22"
|
||||||
|
|
||||||
// "assets": true /* Upload assets. Can be turned off with --no-assets */,
|
// "assets": true /* Upload assets. Can be turned off with --no-assets */,
|
||||||
// "assetsFolder": null /* Specific folder name to be used for static assets */,
|
// "assetsFolder": null /* Specific folder name to be used for static assets */,
|
||||||
// "buildSid": null /* An existing Build SID to deploy to the new environment */,
|
// "buildSid": null /* An existing Build SID to deploy to the new environment */,
|
||||||
@ -34,9 +37,7 @@
|
|||||||
// "production": false /* Promote build to the production environment (no domain suffix). Overrides environment flag */,
|
// "production": false /* Promote build to the production environment (no domain suffix). Overrides environment flag */,
|
||||||
// "properties": null /* Specify the output properties you want to see. Works best on single types */,
|
// "properties": null /* Specify the output properties you want to see. Works best on single types */,
|
||||||
// "region": null /* Twilio API Region */,
|
// "region": null /* Twilio API Region */,
|
||||||
"runtime": "node22" /* The version of Node.js to deploy the build to. (node18) */,
|
|
||||||
// "serviceName": null /* Overrides the name of the Serverless project. Default: the name field in your package.json */,
|
// "serviceName": null /* Overrides the name of the Serverless project. Default: the name field in your package.json */,
|
||||||
// "serviceSid": null /* SID of the Twilio Serverless Service to deploy to */,
|
|
||||||
// "sourceEnvironment": null /* SID or suffix of an existing environment you want to deploy from. */,
|
// "sourceEnvironment": null /* SID or suffix of an existing environment you want to deploy from. */,
|
||||||
// "tail": false /* Continuously stream the logs */,
|
// "tail": false /* Continuously stream the logs */,
|
||||||
// "template": null /* undefined */,
|
// "template": null /* undefined */,
|
||||||
|
|||||||
@ -3,6 +3,9 @@
|
|||||||
"environments": {},
|
"environments": {},
|
||||||
"projects": {},
|
"projects": {},
|
||||||
"functionsFolder": "./build/functions",
|
"functionsFolder": "./build/functions",
|
||||||
|
"serviceSid": "ZS330186eb417a167e6ce918aefcbcc9ae",
|
||||||
|
"runtime": "node22"
|
||||||
|
|
||||||
// "assets": true /* Upload assets. Can be turned off with --no-assets */,
|
// "assets": true /* Upload assets. Can be turned off with --no-assets */,
|
||||||
// "assetsFolder": null /* Specific folder name to be used for static assets */,
|
// "assetsFolder": null /* Specific folder name to be used for static assets */,
|
||||||
// "buildSid": null /* An existing Build SID to deploy to the new environment */,
|
// "buildSid": null /* An existing Build SID to deploy to the new environment */,
|
||||||
@ -34,9 +37,7 @@
|
|||||||
// "production": false /* Promote build to the production environment (no domain suffix). Overrides environment flag */,
|
// "production": false /* Promote build to the production environment (no domain suffix). Overrides environment flag */,
|
||||||
// "properties": null /* Specify the output properties you want to see. Works best on single types */,
|
// "properties": null /* Specify the output properties you want to see. Works best on single types */,
|
||||||
// "region": null /* Twilio API Region */,
|
// "region": null /* Twilio API Region */,
|
||||||
"runtime": "node22" /* The version of Node.js to deploy the build to. (node18) */,
|
|
||||||
// "serviceName": null /* Overrides the name of the Serverless project. Default: the name field in your package.json */,
|
// "serviceName": null /* Overrides the name of the Serverless project. Default: the name field in your package.json */,
|
||||||
// "serviceSid": null /* SID of the Twilio Serverless Service to deploy to */,
|
|
||||||
// "sourceEnvironment": null /* SID or suffix of an existing environment you want to deploy from. */,
|
// "sourceEnvironment": null /* SID or suffix of an existing environment you want to deploy from. */,
|
||||||
// "tail": false /* Continuously stream the logs */,
|
// "tail": false /* Continuously stream the logs */,
|
||||||
// "template": null /* undefined */,
|
// "template": null /* undefined */,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user