8000 GitHub - dschep/serverless-python-action: :zap::snake::octocat: A Github Action for deploying Python projects with the Serverless Framework
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

dschep/serverless-python-action

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 

Repository files navigation

GitHub Action for Serverless with Python

This Action wraps the Serverless Framework, pip, pipenv, and poetry to enable common Serverless commands in python projects.

Usage

An example workflow to deploy a python project with serverless:

workflow "Deploy master branch" {
  on = "push"
  resolves = ["serverless deploy"]
}

action "master branch only" {
  uses = "actions/bin/filter@master"
  args = "branch master"
}

action "npm install" {
  uses = "actions/npm@master"
  args = "install"
  needs = ["master branch only"]
}

action "serverless deploy" {
  uses = "dschep/serverless-python-action@master"
  needs = ["npm install"]
  secrets = ["AWS_ACCESS_KEY_ID", "AWS_SECRET_ACCESS_KEY"]
  args = "deploy"
}

Secrets

  • AWS_ACCESS_KEY_ID - Required. The AWS Access Key ID
  • AWS_SECRET_ACCESS_KEY - Required. The AWS Secret Access Key

License

The Dockerfile and associated scripts and documentation in this project are released under the Apache-2 license.

About

⚡🐍:octocat: A Github Action for deploying Python projects with the Serverless Framework

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%
0