This commit is contained in:
bniwredyc 2023-03-28 18:01:09 +02:00
parent e255b9bcad
commit db7ca57893

View File

@ -17,8 +17,8 @@ deploy:
only:
- main
script:
- mkdir -p ~/.ssh
- ssh -o StrictHostKeyChecking=no dokku@$SERVER
- mkdir ~/.ssh
- echo "${HOST_KEY}" > ~/.ssh/known_hosts
- echo "${SSH_PRIVATE_KEY}" > ~/.ssh/id_rsa
- chmod 0400 ~/.ssh/id_rsa
- git remote add dokku dokku@$SERVER:$APP_NAME