Created
February 23, 2020 23:36
-
-
Save keithrozario/297194ec935436b432e613fa6020a047 to your computer and use it in GitHub Desktop.
Simple Serverless
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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