Skip to content

Merge pull request #42 from ruchernchong/41-migrate-from-pnpm-to-bun #31

Merge pull request #42 from ruchernchong/41-migrate-from-pnpm-to-bun

Merge pull request #42 from ruchernchong/41-migrate-from-pnpm-to-bun #31

Workflow file for this run

name: Staging Deployment
on:
push:
branches:
- '*'
concurrency:
group: merge-${{ github.ref }}
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
DeployApp:
runs-on: ubuntu-latest
environment: Preview
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}
steps:
- name: Git clone the repository
uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
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: |
bun install && bun sst deploy --stage staging