Skip to content

Instantly share code, notes, and snippets.

@keithrozario
Created February 23, 2020 23:36
Show Gist options
  • Save keithrozario/297194ec935436b432e613fa6020a047 to your computer and use it in GitHub Desktop.
Save keithrozario/297194ec935436b432e613fa6020a047 to your computer and use it in GitHub Desktop.
Simple Serverless
name: Simple Serverless
# Triggers
on:
push:
branches:
- master
# Jobs
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# Steps
steps:
- uses: actions/checkout@v1
- name: npm install dependencies
run: npm install
- name: Serverless
uses: serverless/[email protected]
with:
args: deploy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment