From ccbd49932e9a1df3df7eedceb57bb1de0a27f6fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= Date: Thu, 22 Sep 2022 10:05:05 -0300 Subject: [PATCH] Fix wrong character on deploy file --- .github/workflows/deploy-prod.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 6fe5f65..d5afe64 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -23,7 +23,7 @@ jobs: - run: npm run build - run: mkdir ~/.ssh - run: 'echo "$SSH_KEY" >> ~/.ssh/id_ed25519_ifsalas' - - run: chmod 400 ~/.ssh/id_ed25519_ifsalas' + - run: chmod 400 ~/.ssh/id_ed25519_ifsalas - run: echo -e "Host ifsalas\n\tUser ifsalas\n\tHostname 45.76.5.44\n\tIdentityFile ~/.ssh/id_ed25519_ifsalas\n\tStrictHostKeyChecking No" >> ~/.ssh/config - run: rsync -rLtvz build/ ifsalas:/home/ifsalas/web/prod - run: ssh ifsalas "pm2 reload all"