Merge pull request #1 from leomurca/development

Update ssh key file name
This commit is contained in:
Leonardo Murça 2022-09-22 12:34:40 -03:00 committed by GitHub
commit 0f04e1b566
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,9 +20,9 @@ jobs:
node-version: 16 node-version: 16
cache: 'npm' cache: 'npm'
- run: mkdir ~/.ssh - run: mkdir ~/.ssh
- run: 'echo "$SSH_KEY" >> ~/.ssh/id_ed25519_ifsalas' - run: 'echo "$SSH_KEY" >> ~/.ssh/id_rsa_ifsalas'
- run: chmod 400 ~/.ssh/id_ed25519_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_ed25519_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: npm install - run: npm install
- run: npm run build - run: npm run build
- run: npm run deploy:prod - run: npm run deploy:prod