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

Commit

Permalink
Export github env name to use in eb commands
Browse files Browse the repository at this point in the history
  • Loading branch information
assimovt committed Jan 16, 2019
1 parent 4403cd9 commit 8581c2b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions aws-eb/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

AWS_CONFIG_FILE=${HOME}/.aws/config

# Set deployment environment name
export GITHUB_ENVIRONMENT_NAME=`cat $GITHUB_EVENT_PATH | ${HOME}/bin/JSON.sh | grep '\["deployment","environment"]' | cut -f2 | sed -e 's/"//g'`

# Set up eb profile
mkdir ${HOME}/.aws
touch $AWS_CONFIG_FILE
Expand Down

0 comments on commit 8581c2b

Please sign in to comment.