Skip to content

Warning

You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?

Serverless

Actions
Wraps the Serverless Frameork to enable common Serverless commands
v1.53.0
Verified creator
Star (664)

Tags

 (1)

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Github Action for Serverless

This Action wraps the Serverless Framework to enable common Serverless commands.

Usage

An example workflow to deploy a project with serverless:

on:
  push:
    branches:
      - master
name: Deploy master branch
jobs:
  deploy:
    name: deploy
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@master
    - name: npm install
      uses: actions/npm@master
      with:
        args: install
    - name: serverless deploy
      uses: serverless/github-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 }}

License

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

Serverless is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Wraps the Serverless Frameork to enable common Serverless commands
v1.53.0

Verified

GitHub has manually verified the creator of the action as an official partner organization. For more info see About badges in GitHub Marketplace.

Tags

 (1)

Serverless is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.