Skip to content

sst ci

sst ci #2

Workflow file for this run

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: Change directory
run: cd client
-
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