Skip to content

Installs Serverless and runs a deploy using the serverless-python-requirements plugin

Notifications You must be signed in to change notification settings

robo-laura/actions.serverless-with-python-requirements

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

86 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Serverless with Python Requirements

Javascript action that runs a Serverless deploy using the serverless-python-requirements plugin.

Inputs

args

Optional Additional arguments you want to set.

Environment Variables

aws-access-key-id

Conditional Your aws access key id.

aws-secret-access-key

Conditional Your aws secret access key.

serverless-access-key

Conditional Your serverless access key.

Example usage

AWS Credentials

- name: Set up Node
  uses: actions/setup-node@v1
  with:
    node-version: 12

- name: Set up Python
  uses: actions/setup-python@v2
  with:
    python-version: 3.8  # Update with your python version

- name: Serverless Deploy
  uses: dhollerbach/actions.serverless-with-python-requirements@master
  with:
    args: ''  # any deploy arguments you want to pass
  env:
    AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
    AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

Serverless Access Key

- name: Set up Node
  uses: actions/setup-node@v1
  with:
    node-version: 12

- name: Set up Python
  uses: actions/setup-python@v2
  with:
    python-version: 3.8  # Update with your python version

- name: Serverless Deploy
  uses: dhollerbach/actions.serverless-with-python-requirements@master
  with:
    args: ''  # any deploy arguments you want to pass
  env:
    SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }}

About

Installs Serverless and runs a deploy using the serverless-python-requirements plugin

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%