Commit 03ad898c authored by Alexandr Dzehil's avatar Alexandr Dzehil 😎

Change ci file

parent 38e6ea83
Pipeline #7125 failed with stage
in 6 seconds
......@@ -25,8 +25,10 @@ deploy:
- echo "$SSH_PRIVATE_KEY" | tr -d '\r' | ssh-add -
- mkdir -p ~/.ssh
- chmod 700 ~/.ssh
- ssh-keyscan -H ${APP_URL} >> ~/.ssh/known_hosts
- chmod 644 ~/.ssh/known_hosts
script:
- dokku-deploy
- ssh dokku@${APP_URL} ps:restart ${APP_NAME}
after_script:
- dokku-unlock
\ No newline at end of file
- ssh dokku@${APP_URL} apps:unlock ${APP_NAME} || true
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment