Skip to content

Commit

Permalink
Add SSH Keep Alive logic.
Browse files Browse the repository at this point in the history
  • Loading branch information
musa-asad committed Dec 5, 2024
1 parent a8ef6f7 commit 9e2a739
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ec2-integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ jobs:
- name: Verify Terraform version
run: terraform --version

- name: Configure SSH Keep Alive
run: |
mkdir -p ~/.ssh
echo "Host *
ServerAliveInterval 240" > ~/.ssh/config
chmod 600 ~/.ssh/config
# nick-fields/retry@v2 starts at base dir
- name: Terraform apply
if: steps.cache_if_success.outputs.cache-hit != 'true'
Expand Down

0 comments on commit 9e2a739

Please sign in to comment.