fix promotion by adding the SID in the config
Some checks failed
Build and push image for doorman-homeassistant / docker (push) Successful in 29s
Build and push Doorman UI / API / docker (push) Failing after 1m56s
Build and push image for doorman-homeassistant / deploy-gitainer (push) Successful in 5s

This commit is contained in:
Martin Dimitrov 2025-06-08 19:38:23 -07:00
parent fa2fa11449
commit fad9539bd3
3 changed files with 8 additions and 6 deletions

View File

@ -47,13 +47,13 @@ jobs:
- name: run staging integration test
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
env:
ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}
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
env:
ACCOUNT_SID: ${{ secrets.TWILIO_ACCOUNT_SID }}

View File

@ -3,6 +3,9 @@
"environments": {},
"projects": {},
"functionsFolder": "./build/functions",
"serviceSid": "ZS90954ff78d193d18a61ad84bde392b0d",
"runtime": "node22"
// "assets": true /* Upload assets. Can be turned off with --no-assets */,
// "assetsFolder": null /* Specific folder name to be used for static assets */,
// "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 */,
// "properties": null /* Specify the output properties you want to see. Works best on single types */,
// "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 */,
// "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. */,
// "tail": false /* Continuously stream the logs */,
// "template": null /* undefined */,

View File

@ -3,6 +3,9 @@
"environments": {},
"projects": {},
"functionsFolder": "./build/functions",
"serviceSid": "ZS330186eb417a167e6ce918aefcbcc9ae",
"runtime": "node22"
// "assets": true /* Upload assets. Can be turned off with --no-assets */,
// "assetsFolder": null /* Specific folder name to be used for static assets */,
// "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 */,
// "properties": null /* Specify the output properties you want to see. Works best on single types */,
// "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 */,
// "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. */,
// "tail": false /* Continuously stream the logs */,
// "template": null /* undefined */,