From 3070eb4e55b7030e353566f94f89eda6a0f79c5f Mon Sep 17 00:00:00 2001 From: Alessandro Rodi Date: Thu, 31 Oct 2024 22:06:22 +0100 Subject: [PATCH] Change secrets --- .semaphore/main-deploy.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.semaphore/main-deploy.yml b/.semaphore/main-deploy.yml index 77cf61e..4be407e 100644 --- a/.semaphore/main-deploy.yml +++ b/.semaphore/main-deploy.yml @@ -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