Remove &&
This commit is contained in:
parent
ab1dfde64d
commit
15a0af96c7
2 changed files with 2 additions and 2 deletions
2
.github/workflows/deploy-dev.yml
vendored
2
.github/workflows/deploy-dev.yml
vendored
|
@ -24,5 +24,5 @@ jobs:
|
||||||
- run: mkdir ~/.ssh
|
- run: mkdir ~/.ssh
|
||||||
- run: echo "$SSH_KEY" >> ~/.ssh/id_rsa_ifsalas
|
- run: echo "$SSH_KEY" >> ~/.ssh/id_rsa_ifsalas
|
||||||
- run: chmod 400 ~/.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
|
- run: rsync -avz --progress build/ ifsalas:/home/ifsalas/web/dev --delete
|
||||||
|
|
2
.github/workflows/deploy-prod.yml
vendored
2
.github/workflows/deploy-prod.yml
vendored
|
@ -24,5 +24,5 @@ jobs:
|
||||||
- run: mkdir ~/.ssh
|
- run: mkdir ~/.ssh
|
||||||
- run: echo "$SSH_KEY" >> ~/.ssh/id_rsa_ifsalas
|
- run: echo "$SSH_KEY" >> ~/.ssh/id_rsa_ifsalas
|
||||||
- run: chmod 400 ~/.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
|
- run: rsync -avz --progress build/ ifsalas:/home/ifsalas/web/prod --delete
|
||||||
|
|
Loading…
Reference in a new issue