Skip to content

Commit

Permalink
sst ci
Browse files Browse the repository at this point in the history
sst ci

sst ci

sst ci

sst ci

sst ci

sst ci

sst ci
  • Loading branch information
s-alad committed Jun 22, 2024
1 parent 2462bc0 commit 6101405
Showing 1 changed file with 26 additions and 22 deletions.
48 changes: 26 additions & 22 deletions .github/workflows/sst.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy SST
name: deploy

on:
push:
Expand All @@ -8,29 +8,33 @@ on:
jobs:
deploy:
runs-on: ubuntu-latest

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

-
name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 18

-
name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
-
name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

-
name: Install dependencies
run: npm install
-
name: Install sst ion
run: curl -fsSL https://ion.sst.dev/install | bash

-
name: Install SST
run: npm install --global @serverless-stack/cli
-
name: Install dependencies
run: cd ./client && npm install

-
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
-
name: Deploy
run: cd ./client && sst deploy --stage prod

0 comments on commit 6101405

Please sign in to comment.