This action deploys your serverless stack application
Required AWS ACCESS_KEY_ID.
Required AWS SECRET_ACCESS_KEY
Optional AWS Region - [ us-east-1 ]
Optional Staging environment - [ production ]
Optional Package mangers for your lock file. options are npm, yarn - [ yarn ]
Optional Environmental variables for your sst application
Using stage: production
Preparing your SST app
Deploying stacks
✅ production-sst-deploy-demo-MyStack (no changes)
Stack production-sst-deploy-demo-MyStack
Status: no changes
Outputs:
ApiEndpoint: https://xxxxxxxxx.execute-api.us-east-1.amazonaws.com
on: [push]
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy SST APP
steps:
- name: Checkout
uses: actions/checkout@v2
with:
path: "./"
- name: Use Node.JS
uses: actions/setup-node@v3
with:
node-version: 16
- name: Deploy SST app
uses: quenginedev/sst-deploy@main
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
# ANY OTHER ENVS can go here
with:
path: '/path/to/the/root/of/your/sst/folder'
pkg-manager: 'yarn' # required
stage: 'prod'
pre-deploy: 'cd ./path/to/web/app/or/something && yarn'