Skip to content

Commit

Permalink
ci: add stellar keys
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepakBomjan authored Sep 18, 2024
1 parent 4c2d0df commit 766d8f4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/deployer/init_script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,14 @@ echo "$SSH_PUBKEY" > $${DEPLOYR_HOME}/.ssh/authorized_keys
set +x
echo -n "$CIPHER_TEXT" | tr -d ' ' | base64 -d > /opt/deployer/root/keyutils/.cipher_text
echo -n "$KMS_ID" > /opt/deployer/root/keyutils/kms_id
echo -n "$SOROBAN_SECRET_KEY" > /opt/deployer/root/keyutils/.soroban_key
chmod -R 400 /opt/deployer/root/keyutils/.cipher_text
chmod 400 /opt/deployer/root/keyutils/.soroban_key
chmod 770 /opt/deployer/root/keystore
set -x

cd /tmp
sysctl -p
# Install go
wget -q https://go.dev/dl/go$${GO_VERS}.linux-amd64.tar.gz
tar xf go$${GO_VERS}.linux-amd64.tar.gz -C /usr/local
Expand Down

0 comments on commit 766d8f4

Please sign in to comment.