From 30a66049156313e2cc8ed5c73aee9889bb5d38a1 Mon Sep 17 00:00:00 2001 From: Thomas Marchand Date: Tue, 30 Apr 2024 10:40:17 +0100 Subject: [PATCH] feat: setup ssh agent --- .github/workflows/testnet_deploy.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/testnet_deploy.yml b/.github/workflows/testnet_deploy.yml index adc78f36..84432c51 100644 --- a/.github/workflows/testnet_deploy.yml +++ b/.github/workflows/testnet_deploy.yml @@ -32,6 +32,10 @@ jobs: aws configure set aws_secret_access_key $AWS_SECRET_ACCESS_KEY aws configure set default.region $AWS_DEFAULT_REGION + # Configure SSH + eval `ssh-agent -s` + ssh-add ~/.ssh/github_read + if [ -d "\$REPO_PATH/.git" ]; then echo "Repository exists, pulling changes..." cd \$REPO_PATH