add env example and aws keys as secrets
Some checks failed
Build and push Doorman UI / API / docker (push) Failing after 22s

This commit is contained in:
Martin Dimitrov 2024-10-26 11:21:03 -07:00
parent ba0112b0ab
commit cbf0713397
3 changed files with 10 additions and 1 deletions

View File

@ -23,3 +23,5 @@ jobs:
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 }}
AWS_ACCESS_KEY: ${{ secrets.AWS_ACCESS_KEY }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

View File

@ -0,0 +1,7 @@
# twilio stuff
ACCOUNT_SID=
AUTH_TOKEN=
# aws stuff
AWS_ACCESS_KEY=
AWS_SECRET_ACCESS_KEY=

View File

@ -5,7 +5,7 @@
"scripts": { "scripts": {
"test": "echo \"Error: no test specified\" && exit 1", "test": "echo \"Error: no test specified\" && exit 1",
"start": "twilio-run", "start": "twilio-run",
"deploy": "twilio-run deploy --load-system-env --service-name doorman --environment=prod" "deploy": "twilio-run deploy --load-system-env --env env.example --service-name doorman --environment=prod"
}, },
"dependencies": { "dependencies": {
"@aws-sdk/client-dynamodb": "^3.609.0", "@aws-sdk/client-dynamodb": "^3.609.0",