From 15a0af96c7bba805de6eb0284ef117a04f9d8486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= Date: Tue, 1 Nov 2022 11:54:00 -0300 Subject: [PATCH] Remove && --- .github/workflows/deploy-dev.yml | 2 +- .github/workflows/deploy-prod.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 6b3cc90..496257c 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -24,5 +24,5 @@ jobs: - run: mkdir ~/.ssh - run: echo "$SSH_KEY" >> ~/.ssh/id_rsa_ifsalas - run: chmod 400 ~/.ssh/id_rsa_ifsalas - - run: echo -e "Host ifsalas\n\tUser ifsalas\n\tHostname 45.76.5.44\n\tIdentityFile ~/.ssh/id_rsa_ifsalas\n\tStrictHostKeyChecking No" >> ~/.ssh/config && + - run: echo -e "Host ifsalas\n\tUser ifsalas\n\tHostname 45.76.5.44\n\tIdentityFile ~/.ssh/id_rsa_ifsalas\n\tStrictHostKeyChecking No" >> ~/.ssh/config - run: rsync -avz --progress build/ ifsalas:/home/ifsalas/web/dev --delete diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index cde31be..403abb7 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -24,5 +24,5 @@ jobs: - run: mkdir ~/.ssh - run: echo "$SSH_KEY" >> ~/.ssh/id_rsa_ifsalas - run: chmod 400 ~/.ssh/id_rsa_ifsalas - - run: echo -e "Host ifsalas\n\tUser ifsalas\n\tHostname 45.76.5.44\n\tIdentityFile ~/.ssh/id_rsa_ifsalas\n\tStrictHostKeyChecking No" >> ~/.ssh/config && + - run: echo -e "Host ifsalas\n\tUser ifsalas\n\tHostname 45.76.5.44\n\tIdentityFile ~/.ssh/id_rsa_ifsalas\n\tStrictHostKeyChecking No" >> ~/.ssh/config - run: rsync -avz --progress build/ ifsalas:/home/ifsalas/web/prod --delete