From d399750ccb8526d6ca82d0e614bb92b6e562af3a Mon Sep 17 00:00:00 2001 From: aquintero Date: Tue, 17 Oct 2023 10:51:22 -0700 Subject: [PATCH] debug --- .github/workflows/deploy_from_main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy_from_main.yml b/.github/workflows/deploy_from_main.yml index 7d96116..49d1c58 100644 --- a/.github/workflows/deploy_from_main.yml +++ b/.github/workflows/deploy_from_main.yml @@ -22,8 +22,6 @@ jobs: port: 22 script_stop: true script: | - echo "Debug: Starting SSH script" - su - assistant-bible echo "Debug: Switched to assistant-bible user" cd /home/assistant-bible/assistant.bible echo "Debug: Changed directory to /home/assistant-bible/assistant.bible" @@ -33,6 +31,8 @@ jobs: echo "Debug: SSH connection test to GitHub completed" git pull origin develop echo "Debug: Git pull command executed" + echo "Debug: Starting SSH script" + su - assistant-bible cd deployment echo "Debug: Changed directory to deployment" docker compose --env-file .env up --force-recreate --build -d