Skip to content

bump nextjs version: #5

bump nextjs version:

bump nextjs version: #5

Workflow file for this run

name: SST workflow
on:
push:
branches:
- dev # matches every branch
# 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:
ENV_NAME: ${{ secrets.AUTH_SECRET }}
steps:
- name: Git clone the repository
uses: actions/checkout@v4
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: arn:aws:iam::211125454464:role/GitHub
role-duration-seconds: 1200 #adjust as needed for your build time
aws-region: us-east-1
# TODO: we have to manually update the SST version, or set it with an ENV variable
- name: Download and Install SST
run: |
curl -L -o sst-linux-x86_64.tar.gz https://github.com/sst/ion/releases/download/v0.0.298/sst-linux-x86_64.tar.gz
tar -xzf sst-linux-x86_64.tar.gz
sudo mv sst /usr/local/bin/sst
- name: Deploy app
run: |
npm ci && npm run deploy