Skip to content

Commit

Permalink
Change secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
coorasse committed Nov 1, 2024
1 parent bab91ef commit 3070eb4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .semaphore/main-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ blocks:
- name: main-deploy
task:
secrets:
- name: heroku-http
- name: semeli
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

0 comments on commit 3070eb4

Please sign in to comment.