Skip to content

Commit

Permalink
[chore] Fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
tormozz48 committed May 1, 2024
1 parent c5b3a4a commit 550d645
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ jobs:
- name: Build
run: npm run build --if-present
- name: Configure AWS credentials
run: serverless config credentials --provider aws --overwrite --key ${{secrets.AWS_ACCESS_KEY_ID}} --secret ${{secrets.AWS_SECRET_ACCESS_KEY}}
run: npm run config:credentials -- --key ${{secrets.AWS_ACCESS_KEY_ID}} --secret ${{secrets.AWS_SECRET_ACCESS_KEY}}
- name: Deploy
run: npm run deploy
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"lint": "npm run eslint && npm run depcheck && npm run type-coverage",
"db:migrate": "serverless dynamodb migrate",
"dev": "serverless offline",
"config:credentials": "serverless config credentials --provider aws --overwrite",
"deploy": "serverless deploy --use-local-credentials",
"pretest": "npm run db:migrate",
"test": "jest --silent",
Expand Down

0 comments on commit 550d645

Please sign in to comment.