Skip to content

Commit

Permalink
Add slack hook (#23)
Browse files Browse the repository at this point in the history
### What was the problem?

This PR resolves #22 

### How was it solved?

- Add slack config in the secret manager
- Pull slack config from secret manager and set env var
  • Loading branch information
ishantiw authored Jul 23, 2024
1 parent c9decf4 commit c6783e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/runMainnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ echo "RPC_PROVIDER_DRPC_1135=$RPC_PROVIDER_DRPC_1135" >> ${app_dir}/.env
RPC_PROVIDER_GELATO_1135=`echo $RELAYER_CONFIG | jq -r ."RPC_PROVIDER_GELATO_1135"`
echo "RPC_PROVIDER_GELATO_1135=$RPC_PROVIDER_GELATO_1135" >> ${app_dir}/.env

SLACK_CONFIG=`echo $RELAYER_CONFIG | jq -r ."SLACK_CONFIG"`
echo "SLACK_CONFIG=$SLACK_CONFIG" >> ${app_dir}/.env

echo "All env vars from secrets are set."

# Simulation mode OFF
Expand Down

0 comments on commit c6783e2

Please sign in to comment.