https://github.com/hdev14/sls-deploy-action
Github Actions to deploy serverless applications.
https://github.com/hdev14/sls-deploy-action
Last synced: 10 days ago
JSON representation
Github Actions to deploy serverless applications.
- Host: GitHub
- URL: https://github.com/hdev14/sls-deploy-action
- Owner: hdev14
- License: mit
- Created: 2021-07-29T20:09:22.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-28T12:45:48.000Z (almost 3 years ago)
- Last Synced: 2025-02-01T09:02:38.505Z (4 months ago)
- Language: Shell
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Serverless Deploy Action
Github Action to deploy serverless applications on AWS.
> This action was implemented to be used with the [serverless/aws-nodejs-typescript](https://github.com/serverless/serverless/tree/master/lib/plugins/create/templates/aws-nodejs-typescript) template.
### Example usage
```yml
- name: Deploy Severless
uses: hdev14/sls-deploy-action@main
with:
awsAccessKeyID: ${{ secrets.AWS_ACCESS_KEY_ID }}
awsSecretAccessKey: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
stage: "dev"
region: "us-east-1"
```It's important to add in the serverless config file, the folowing lines within the context of provider
```yml
stage: "${opt:stage, 'dev'}"
region: "${opt:region, 'sa-east-1'}"
```