Skip to content

Commit

Permalink
Fixed env file comment line
Browse files Browse the repository at this point in the history
  • Loading branch information
bayrakmustafa committed Apr 8, 2024
1 parent 8df2f90 commit 553258f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ USERNAME="esigner_demo"
PASSWORD="esignerDemo#1"
CREDENTIAL_ID="8b072e22-7685-4771-b5c6-48e46614915f"
TOTP_SECRET="RDXYgV9qju+6/7GnMf1vCbKexXVJmUVr+86Wq/8aIGg="
ENVIRONMENT_NAME=TEST #TEST, PROD
#TEST, PROD
ENVIRONMENT_NAME=TEST
3 changes: 2 additions & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ echo "Run CodeSigner"
echo "Running ESigner.com CodeSign Action"
echo ""

if [[ "$ENVIRONMENT_NAME" != "PROD" ]]; then
ENVIRONMENT_NAME=$(echo "$ENVIRONMENT_NAME" | tr -d '"')
if [[ $ENVIRONMENT_NAME != "PROD" ]]; then
cp /codesign/conf/code_sign_tool.properties /codesign/conf/code_sign_tool.properties.production
cp /codesign/conf/code_sign_tool_demo.properties /codesign/conf/code_sign_tool.properties
fi
Expand Down

0 comments on commit 553258f

Please sign in to comment.