File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ cd $PROJECT_DIR
24
24
# Bail out if nothing changed.
25
25
CONTENT_HASH=$( calculate_content_hash $CHECK_REBUILD_REPOSITORY )
26
26
echo " Last successfully deployed commit: $CONTENT_HASH "
27
- if check_rebuild cache-$CONTENT_HASH -$DEPLOY_TAG -deployed $CHECK_REBUILD_REPOSITORY ; then
27
+ if [ -z " $TO_TAINT " ] && check_rebuild cache-$CONTENT_HASH -$DEPLOY_TAG -deployed $CHECK_REBUILD_REPOSITORY ; then
28
28
echo " No changes detected, skipping deployment."
29
29
exit 0
30
30
fi
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ for KEY in ROLLUP_CONTRACT_ADDRESS REGISTRY_CONTRACT_ADDRESS INBOX_CONTRACT_ADDR
33
33
export TF_VAR_$KEY =$VALUE
34
34
done
35
35
36
- if [ -n " ${ DRY_DEPLOY:- } " ]; then
36
+ if [ " $ DRY_DEPLOY" -eq 1 ]; then
37
37
echo " DRY_DEPLOY: deploy_terraform l1-contracts ./terraform"
38
38
echo " DRY_DEPLOY: tag_remote_image $REPOSITORY cache-$CONTENT_HASH cache-$CONTENT_HASH -$DEPLOY_TAG -deployed"
39
39
else
You can’t perform that action at this time.
0 commit comments