Skip to content

Instantly share code, notes, and snippets.

@spencerfeng
Created April 30, 2022 11:59
Show Gist options
  • Save spencerfeng/acf7075f94f8275d9bb9ce76dd3c1a74 to your computer and use it in GitHub Desktop.
Save spencerfeng/acf7075f94f8275d9bb9ce76dd3c1a74 to your computer and use it in GitHub Desktop.
For tutorial: Create a serverless service to extract the HTML of a web page and store it in an S3 bucket using Serverless Framework
name: Dev Deploy
on:
push:
branches:
- main
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Deploy
env:
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}}
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}}
run: make deploy-dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment