Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
s-alad committed Jun 22, 2024
1 parent 9944e0f commit 1a93e16
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/sst.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: deploy

on:
push:
branches:
- main

jobs:
deploy:
runs-on: ubuntu-latest
steps:
-
name: Checkout code
uses: actions/checkout@v2

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

-
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 sst ion
run: curl -fsSL https://ion.sst.dev/install | bash

-
name: Install dependencies
run: cd ./client && npm install

-
name: Deploy
run: cd ./client && sst deploy --stage salad

0 comments on commit 1a93e16

Please sign in to comment.