add env example and aws keys as secrets
Some checks failed
Build and push Doorman UI / API / docker (push) Failing after 22s
Some checks failed
Build and push Doorman UI / API / docker (push) Failing after 22s
This commit is contained in:
parent
ba0112b0ab
commit
cbf0713397
@ -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 }}
|
||||||
|
|||||||
7
packages/serverless/.env.example
Normal file
7
packages/serverless/.env.example
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
# twilio stuff
|
||||||
|
ACCOUNT_SID=
|
||||||
|
AUTH_TOKEN=
|
||||||
|
|
||||||
|
# aws stuff
|
||||||
|
AWS_ACCESS_KEY=
|
||||||
|
AWS_SECRET_ACCESS_KEY=
|
||||||
@ -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",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user