From f90ce74791dd5b65069a01dfa0c79ac990073bb6 Mon Sep 17 00:00:00 2001 From: egalvis Date: Wed, 15 Nov 2023 16:09:44 -0500 Subject: [PATCH] =?UTF-8?q?ci(CI/CD):=20=F0=9F=92=9A=20fix=20CI/CD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/main.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b6e443d..6e5554c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -81,7 +81,7 @@ jobs: # Download updated docker image to testing server run: | echo "** Download updated docker image **" - ssh -tt $secrets.HOST_TESTING "docker pull $MENUFLOW_IMAGE" + ssh -tt $HOST_TESTING "docker pull $MENUFLOW_IMAGE" echo "** Update menuflow image in registered domains **" for domain in ${DOMAINS}; do echo " >> Setting service variables" @@ -89,7 +89,7 @@ jobs: service=$(echo ${domain} | cut -d '.' -f1) menuflow_service="${stack_name}_${service}-menuflow" echo " >> Remove the service if exists" - ssh -tt $secrets.HOST_TESTING " \ + ssh -tt $HOST_TESTING " \ if docker service ps ${menuflow_service}; then \ docker service rm ${menuflow_service}; \ else \ @@ -98,7 +98,7 @@ jobs: " echo " >> Deploy the service" docker_compose_file="/mnt/shared/matrix/${domain}/docker-compose.yml" - ssh -tt $secrets.HOST_TESTING " \ + ssh -tt $HOST_TESTING " \ docker-compose -f ${docker_compose_file} config | \ docker stack deploy -c - ${stack_name}; "