From 992b04f85b4ac77d431de1562241f1cf188c8119 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Mur=C3=A7a?= Date: Thu, 22 Sep 2022 12:33:24 -0300 Subject: [PATCH] Update ssh key file name --- .github/workflows/deploy-prod.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 6c93139..6fa76db 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -20,9 +20,9 @@ jobs: node-version: 16 cache: 'npm' - run: mkdir ~/.ssh - - run: 'echo "$SSH_KEY" >> ~/.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: '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: npm install - run: npm run build - run: npm run deploy:prod