Skip to content

Instantly share code, notes, and snippets.

@vikene
Created April 7, 2020 07:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vikene/8ecfab5858e57c46c15f8c730b0524f6 to your computer and use it in GitHub Desktop.
Save vikene/8ecfab5858e57c46c15f8c730b0524f6 to your computer and use it in GitHub Desktop.
name: Master CI/CD
on:
push:
branches:
- master
jobs:
primary:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: install Dependencies
run: yarn install
- name: serverless deploy
run: npx serverless deploy
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment