mirror of
https://github.com/mrrpnya/lipu-sona.git
synced 2025-02-13 16:44:39 +00:00
add a known_hosts file
This commit is contained in:
parent
2822df489d
commit
dbce498e89
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ deploy-job: # This job runs in the deploy stage.
|
|||
- chmod 700 ~/.ssh
|
||||
- eval $(ssh-agent -s)
|
||||
- echo "$DEPLOY_PRIVATE_KEY" | tr -d '\r' | ssh-add -
|
||||
- echo "$DEPLOY_KNOWN_HOSTS" > .ssh/known_hosts
|
||||
- chmod 0600 .ssh/known_hosts
|
||||
- ssh-add -l
|
||||
script:
|
||||
- rsync -ciIlprz out/ deploy@devurandom.xyz:~/out/
|
||||
|
|
Loading…
Add table
Reference in a new issue