Skip to content

Commit

Permalink
work on ebext
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeheft committed Jul 7, 2024
1 parent f08311f commit dba681c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions .ebextensions/01_environment.config
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,5 @@ container_commands:
01_set_env_vars:
command: source /opt/elasticbeanstalk/deployment/env && printenv >> /var/log/eb-activity.log

option_settings:
aws:elasticbeanstalk:container:ruby:environment:
ROUTE_RATER_DATABASE_PASSWORD: your_database_password_here
GOOGLE_API_KEY: your_google_api_key_here

aws:elasticbeanstalk:application:environment:
ROUTE_RATER_HEALTH_CHECK_PATH: "/rails/health"
3 changes: 1 addition & 2 deletions .github/workflows/terraform_and_deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ jobs:
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: "us-west-2"
run: |
eb use prod-env
eb deploy
eb deploy prod-env
- name: Set environment variables
env:
Expand Down

0 comments on commit dba681c

Please sign in to comment.