Remove &&

This commit is contained in:
Leonardo Murça 2022-11-01 11:54:00 -03:00
parent ab1dfde64d
commit 15a0af96c7
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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