Skip to content

Commit

Permalink
added echo and env
Browse files Browse the repository at this point in the history
  • Loading branch information
Megha-Dev-19 committed Jul 20, 2024
1 parent 73ab4da commit 921b599
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/release-instances.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
- environment: infrastructure-committee.near
dry_run_command: npm run dry-run:infrastructure
deploy_command: npm run deploy:infrastructure
environment: ${{ matrix.target_account.environment }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -34,6 +35,7 @@ jobs:
if [[ "$BRANCH" != "main" ]]; then
echo "Not on main branch, dry run"
${{ matrix.target_account.dry_run_command }}
echo "${{ matrix.target_account.deploy_command }} -- '${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}' sign-as '${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}' network-config mainnet sign-with-plaintext-private-key --signer-public-key '${{ vars.NEAR_SOCIAL_ACCOUNT_PUBLIC_KEY }}' --signer-private-key '${{ secrets.NEAR_SOCIAL_ACCOUNT_PRIVATE_KEY }}' send"
else
${{ matrix.target_account.deploy_command }} -- '${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}' sign-as '${{ vars.NEAR_SOCIAL_ACCOUNT_ID }}' network-config mainnet sign-with-plaintext-private-key --signer-public-key '${{ vars.NEAR_SOCIAL_ACCOUNT_PUBLIC_KEY }}' --signer-private-key '${{ secrets.NEAR_SOCIAL_ACCOUNT_PRIVATE_KEY }}' send
fi

0 comments on commit 921b599

Please sign in to comment.