Skip to content

Commit

Permalink
fix: encapsulate token var in quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
adamkdean committed Jan 4, 2022
1 parent c77515b commit c0299bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .jenkins/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def deployScript() {
--detach \
--name $NAME \
--restart always \
--env PRICE_BOT_TOKEN=$PRICE_BOT_TOKEN
--env PRICE_BOT_TOKEN="$PRICE_BOT_TOKEN"
$IMAGE
''')
}
Expand Down Expand Up @@ -51,7 +51,7 @@ pipeline {
chmod +x ${filename} && \
NAME=$NAME \
IMAGE=$IMAGE \
PRICE_BOT_TOKEN=$PRICE_BOT_TOKEN \
PRICE_BOT_TOKEN='$PRICE_BOT_TOKEN' \
bash -x ./${filename} && \
rm ${filename}'"
}
Expand Down

0 comments on commit c0299bb

Please sign in to comment.