Update ssh key file name
This commit is contained in:
parent
2041757f74
commit
992b04f85b
1 changed files with 3 additions and 3 deletions
6
.github/workflows/deploy-prod.yml
vendored
6
.github/workflows/deploy-prod.yml
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue