From 41e1394efb02c5c848648b8836eee9892e44dd7a Mon Sep 17 00:00:00 2001 From: Anchal Gupta Date: Tue, 7 May 2024 10:50:19 -0700 Subject: [PATCH] Using >> to append --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 213764e..96bac79 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,8 +26,8 @@ jobs: ${{ secrets.DVC_SSH_KEY }} - name: Configure ssh run: | - echo "{{ secrets.DVC_KNOWN_HOSTS }}" > ~/.ssh/known_hosts - echo "{{ secrets.DVC_SSH_CONFIG }}" > ~/.ssh/config + echo "{{ secrets.DVC_KNOWN_HOSTS }}" >> ~/.ssh/known_hosts + echo "{{ secrets.DVC_SSH_CONFIG }}" >> ~/.ssh/config - name: Test ssh run: | echo "$(ssh cybele 'ls ./test/')"