Skip to content

Commit

Permalink
deploy fix
Browse files Browse the repository at this point in the history
  • Loading branch information
hhassan01 committed Aug 30, 2024
1 parent b1693c4 commit 3b811bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,5 @@ jobs:
run: npm ci

- name: Deploy
run: serverless deploy --stage dev
run: npm run deploy

3 changes: 1 addition & 2 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,5 +52,4 @@ jobs:
run: npm ci

- name: Deploy
run: serverless deploy --stage production

run: npm run deploy:prod
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@
"scripts": {
"clean": "rm -rf dist build",
"build": "npm run clean && tsc",
"deploy": "serverless deploy -s production -r eu-north-1 -v",
"deploy": "serverless deploy -s dev -v",
"deploy:prod": "serverless deploy -s production -v",
"offline": "npm run build && serverless offline",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
Expand Down

0 comments on commit 3b811bd

Please sign in to comment.