diff --git a/.github/workflows/sst.yml b/.github/workflows/sst.yml index 7ffb954..59ce6a8 100644 --- a/.github/workflows/sst.yml +++ b/.github/workflows/sst.yml @@ -20,17 +20,21 @@ jobs: with: node-version: '16' + - + name: Change directory + run: cd ./client + - name: Install dependencies - run: npm install + run: cd ./client && npm install - name: Install SST - run: npm install --global @serverless-stack/cli + run: cd ./client && 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 + run: cd ./client && npx sst deploy --stage prod