Skip to content

Commit 7f15dab

Browse files
authored
Update GH comment with the correct contract links (#197)
1 parent 1e7a7c7 commit 7f15dab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-staging.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ jobs:
146146
147147
echo "| Name | Deployment |" >> comment.md
148148
echo "| ---- | ---------- |" >> comment.md
149-
echo "| Registry | ["'`'"${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}"'`'"](https://explorer.${{ vars.NEAR_CONTRACT_STAGING_NETWORK }}.near.org/accounts/${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}) |" >> comment.md
150-
echo "| Default market | ["'`'"${MARKET_ACCOUNT_ID}"'`'"](https://explorer.${{ vars.NEAR_CONTRACT_STAGING_NETWORK }}.near.org/accounts/${MARKET_ACCOUNT_ID}) |" >> comment.md
149+
echo "| Registry | ["'`'"${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}"'`'"](https://$([[ \"${{ vars.NEAR_CONTRACT_STAGING_NETWORK }}\" == \"testnet\" ]] && echo 'testnet.' || echo '')nearblocks.io/address/${{ env.NEAR_CONTRACT_PR_STAGING_ACCOUNT_ID }}) |" >> comment.md
150+
echo "| Default market | ["'`'"${MARKET_ACCOUNT_ID}"'`'"](https://$([[ \"${{ vars.NEAR_CONTRACT_STAGING_NETWORK }}\" == \"testnet\" ]] && echo 'testnet.' || echo '')nearblocks.io/address/${MARKET_ACCOUNT_ID}) |" >> comment.md
151151
echo '' >> comment.md
152152
echo "---" >> comment.md
153153
echo '' >> comment.md

0 commit comments

Comments
 (0)