Skip to content

Commit

Permalink
WIP deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
tompahoward committed Oct 20, 2023
1 parent f927f6c commit 7f98c0f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions deploy/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ EOM
}

if test -z "$*"; then
set -x

TF_WORKSPACE="${npm_lifecycle_event#deploy:}"

backend_config=""
if [ ! -z "$TERRAFORM_CLOUD_TOKEN" ]; then
backend_config="-backend-config=token=$TERRAFORM_CLOUD_TOKEN"
Expand Down

0 comments on commit 7f98c0f

Please sign in to comment.