Skip to content

Commit

Permalink
Add deploy to AWS workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Dec 12, 2024
1 parent 986324e commit 20e9eb7
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions {{cookiecutter.project_slug}}/.github/workflows/deploy_to_aws.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

name: Deploy to AWS Elastic Beanstalk

on:
push:
branches:
- main
workflow_dispatch:

env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: ${{ secrets.AWS_REGION }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}

jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# AWS CLI is pre-installed on GitHub Actions
- name: Deploy to Azure containerapps
run: ./scripts/deploy_to_ebs.sh

0 comments on commit 20e9eb7

Please sign in to comment.