Skip to content

Commit

Permalink
Deploy to AWS instead of CF Workers
Browse files Browse the repository at this point in the history
  • Loading branch information
ruchernchong committed May 9, 2024
1 parent fcbc4af commit a42afff
Show file tree
Hide file tree
Showing 10 changed files with 208 additions and 1,054 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/SST - Development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ jobs:
with:
role-to-assume: ${{ vars.ROLE_TO_ASSUME }}
aws-region: ap-southeast-1
# - name: Deploy app
# run: |
# pnpm install && pnpm sst deploy --stage dev
- name: Install SST CLI
run: |
curl -fsSL https://ion.sst.dev/install | bash
- name: Deploy app
run: |
pnpm install && sst deploy --stage development
6 changes: 5 additions & 1 deletion .github/workflows/SST - Production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:
with:
role-to-assume: ${{ vars.ROLE_TO_ASSUME }}
aws-region: ap-southeast-1
- name: Install SST CLI
run: |
curl -fsSL https://ion.sst.dev/install | bash
- name: Deploy app
run: |
pnpm install && pnpm sst deploy --stage prod
curl -fsSL https://ion.sst.dev/install | bash
pnpm install && sst deploy --stage production
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
"sst": "^3.0.13"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240423.0",
"@types/adm-zip": "^0.5.3",
"@types/d3": "^7.4.2",
"@types/node": "^20.12.7",
"prettier": "^3.0.3",
"typescript": "^5.4.5",
"wrangler": "^3.53.0"
"typescript": "^5.4.5"
}
}
Loading

0 comments on commit a42afff

Please sign in to comment.