From 017dc3a8b5ae1179de702728fcf7ebfbdc0de1ea Mon Sep 17 00:00:00 2001 From: Mihajlo Date: Fri, 16 Jul 2021 11:27:53 +0200 Subject: [PATCH] chore: script fix --- .github/workflows/sasjs-tests.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/.github/workflows/sasjs-tests.yml b/.github/workflows/sasjs-tests.yml index e9e53ba..156f0e4 100644 --- a/.github/workflows/sasjs-tests.yml +++ b/.github/workflows/sasjs-tests.yml @@ -29,9 +29,6 @@ jobs: key: ${{ secrets.DCGITLAB_KEY }} known_hosts: 'placeholder' - - name: Adding Known Hosts - run: ssh-keyscan -H ${{ secrets.SSH_HOST }} >> ~/.ssh/known_hosts - - name: Write VPN Files run: | echo "$CA_CRT" > .github/vpn/ca.crt @@ -67,13 +64,13 @@ jobs: replace-in-files --regex='password.*' --replacement='password:"${{ secrets.SAS_PASSWORD }}",' ./public/config.json replace-in-files --regex='serverType.*' --replacement='serverType:"SASVIYA",' ./public/config.json npm run update:adapter && npm run build - rsync -avhe ssh ./build/* --delete ${{ secrets.DCGITLAB_DEPLOY_PATH_VIYA }} + scp -o stricthostkeychecking=no -r ./build/* ${{ secrets.DCGITLAB_DEPLOY_PATH_VIYA }} - name: Deploy sasjs-tests sas9 run: | replace-in-files --regex='serverType.*' --replacement='serverType:"SAS9",' ./public/config.json npm run update:adapter && npm run build - rsync -avhe ssh ./build/* --delete ${{ secrets.DCGITLAB_DEPLOY_PATH_SAS9 }} + scp -o stricthostkeychecking=no -r ./build/* ${{ secrets.DCGITLAB_DEPLOY_PATH_SAS9 }} - name: Run cypress on viya run: ls