Skip to content

Commit

Permalink
debug pre script
Browse files Browse the repository at this point in the history
  • Loading branch information
yardenasadosa committed Apr 2, 2024
1 parent 9579a67 commit 67862e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions github.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@ echo "print ENVSUBST env:"
env | grep "ENVSUBST"

## Render Script Templates
envsubst_varlist='$ENV_ENVSUBST $RC_TARBALL_ENVSUBST $AWS_DEFAULT_REGION_ENVSUBST $S3_BUCKET_ENVSUBST $RC_DIR_ENVSUBST'

envsubst '$ENV_ENVSUBST,$RC_TARBALL_ENVSUBST,$AWS_DEFAULT_REGION_ENVSUBST,$S3_BUCKET_ENVSUBST,$RC_DIR_ENVSUBST' < ./pre_install_gh.sh.tpl > ./pre_install.sh
envsubst '$ENV_ENVSUBST,$RC_TARBALL_ENVSUBST,$AWS_DEFAULT_REGION_ENVSUBST,$S3_BUCKET_ENVSUBST,$RC_DIR_ENVSUBST' < ./rotate_version_gh.sh.tpl > ./rotate_version.sh
envsubst_varlist='$ENV_ENVSUBST,$RC_TARBALL_ENVSUBST,$AWS_DEFAULT_REGION_ENVSUBST,$S3_BUCKET_ENVSUBST,$RC_DIR_ENVSUBST'
#see doc in https://github.com/a8m/envsubst
envsubst "$envsubst_varlist" < ./pre_install_gh.sh.tpl > ./pre_install.sh
envsubst "$envsubst_varlist" < ./rotate_version_gh.sh.tpl > ./rotate_version.sh

echo "print script pre_install.sh:"
cat pre_install.sh
Expand Down

0 comments on commit 67862e1

Please sign in to comment.