Skip to content

Add GitHub Actions workflow #1

Add GitHub Actions workflow

Add GitHub Actions workflow #1

Workflow file for this run

name: SST workflow
on: push
# Concurrency group name ensures concurrent workflow runs wait for any in-progress job to finish
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
env:

Check failure on line 15 in .github/workflows/sst.yml

View workflow run for this annotation

GitHub Actions / SST workflow

Invalid workflow file

The workflow is not valid. .github/workflows/sst.yml (Line: 15, Col: 9): Unexpected value ''
steps:
- name: Git clone the repository
uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
with:
role-to-assume: arn:aws:iam::173188516302:role/GitHub
role-duration-seconds: 14390 #adjust as needed for your build time
aws-region: ap-southeast-1
- name: Deploy app
run: |
bun install && bun sst deploy --stage prod