Skip to content

Commit

Permalink
Fix deploy once more
Browse files Browse the repository at this point in the history
  • Loading branch information
coorasse committed Nov 1, 2024
1 parent aacc391 commit eeb47b4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .semaphore/main-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ blocks:
env_vars:
- name: DOKKU_APP_NAME
value: semeli
- name: GIT_SSH_COMMAND
value: ssh -i /home/semaphore/.ssh/hetzner-github.key -o StrictHostKeyChecking=no
jobs:
- name: main-deploy
commands:
- checkout --use-cache
- git remote add dokku ssh://dokku@$DOKKU_SERVER_IP:22/$DOKKU_APP_NAME
- chmod 600 /home/semaphore/.ssh/hetzner-github.key
- git push dokku -f $SEMAPHORE_GIT_BRANCH:main
- GIT_SSH_COMMAND="ssh -i /home/semaphore/.ssh/hetzner-github.key -o StrictHostKeyChecking=no" git push dokku -f $SEMAPHORE_GIT_BRANCH:main

0 comments on commit eeb47b4

Please sign in to comment.