An open API service indexing awesome lists of open source software.

https://github.com/allbarbos/serverless-deploy-action

Action for deploying with the Serverless Framework 1.72.0
https://github.com/allbarbos/serverless-deploy-action

github-actions serverless serverless-framework

Last synced: 2 months ago
JSON representation

Action for deploying with the Serverless Framework 1.72.0

Awesome Lists containing this project

README

          

# Serverless Deploy Github Action

This action wraps the Serverless Framework latest versions.

## Usage
```
name: CI
on:
push:
branches: [ master ]
jobs:
deploy:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

# if using plugins
- name: install plugins
run: npm i

- name: serverless deploy
uses: allbarbos/serverless-deploy-action@master
with:
args: deploy
env:
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }}
# or if using AWS creds directly
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
```