Skip to content

Update environment name in Staging workflow #35

Update environment name in Staging workflow

Update environment name in Staging workflow #35

Workflow file for this run

name: Deployment (Staging)
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:
Deploy:
runs-on: ubuntu-latest
environment: Staging
env:
MONGODB_URI: ${{ secrets.MONGODB_URI }}
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v2
with:
bun-version: latest
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ vars.ROLE_TO_ASSUME }}
aws-region: ap-southeast-1
- name: Deploy app
run: |
bun install && bun sst deploy --stage staging