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 088b158
Show file tree
Hide file tree
Showing 10 changed files with 185 additions and 1,055 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/SST - Development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ 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: Deploy app
run: |
curl -fsSL https://ion.sst.dev/install | bash
pnpm install && sst deploy --stage development
5 changes: 3 additions & 2 deletions .github/workflows/SST - Production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,6 @@ jobs:
role-to-assume: ${{ vars.ROLE_TO_ASSUME }}
aws-region: ap-southeast-1
- name: Deploy app
run: |
pnpm install && pnpm sst deploy --stage prod
run: |
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 088b158

Please sign in to comment.