Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Commit

Permalink
Document deploy action
Browse files Browse the repository at this point in the history
  • Loading branch information
zoul committed Aug 8, 2023
1 parent fc9f61e commit 03d2159
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Deploy

# Run on pushes to main branch
on:
push:
branches: [main]

# Read credentials from repo secrets and expose them in the environment.
# The AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY variables are for the
# AWS CLI to let us access our AWS account.
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_KEY_SECRET }}
Expand All @@ -16,11 +20,14 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Check out the code
- uses: actions/checkout@v3
# Install Node
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
# Install Serverless and use it to deploy to Lambda
- name: Deploy
run: |
cd web_app
Expand Down

0 comments on commit 03d2159

Please sign in to comment.