Skip to content

Commit

Permalink
add sst ci
Browse files Browse the repository at this point in the history
  • Loading branch information
s-alad committed Jun 22, 2024
1 parent 56dc9dc commit 2462bc0
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/sst.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Deploy SST

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest

steps:
-
name: Checkout repository
uses: actions/checkout@v2

-
name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'

-
name: Install dependencies
run: npm install

-
name: Install SST
run: npm install --global @serverless-stack/cli

-
name: Deploy SST
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
run: sst deploy --stage prod

0 comments on commit 2462bc0

Please sign in to comment.