Fix admin deploy host key check
Some checks failed
Some checks failed
This commit is contained in:
parent
92ab26605f
commit
a5581cf077
@ -53,7 +53,7 @@ steps:
|
||||
- mkdir -p ~/.ssh
|
||||
- cp /root/ssh-keys/rebreak-deploy ~/.ssh/id_ed25519
|
||||
- chmod 600 ~/.ssh/id_ed25519
|
||||
- ssh-keyscan -H admin.staging.rebreak.org > ~/.ssh/known_hosts 2>/dev/null
|
||||
- ssh-keyscan -H staging.rebreak.org > ~/.ssh/known_hosts 2>/dev/null
|
||||
- tar czf admin-output.tar.gz -C apps/admin/.output .
|
||||
- scp -i ~/.ssh/id_ed25519 admin-output.tar.gz root@staging.rebreak.org:/srv/rebreak/apps/admin/.output-incoming.tar.gz
|
||||
- ssh -i ~/.ssh/id_ed25519 root@staging.rebreak.org 'bash /srv/rebreak/scripts/deploy-admin-from-artifact.sh'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user