From 82bb266f818d9d8860f49920486c379d9142e304 Mon Sep 17 00:00:00 2001 From: Mohamed Bilel Besrour Date: Sun, 11 Aug 2024 13:41:53 +0200 Subject: [PATCH] fix workflow using wrong vars --- .github/workflows/deploy-container.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/deploy-container.yml b/.github/workflows/deploy-container.yml index af357da..300359c 100644 --- a/.github/workflows/deploy-container.yml +++ b/.github/workflows/deploy-container.yml @@ -21,10 +21,10 @@ jobs: host: ${{ vars.URL }} username: ${{ secrets.SSH_USER }} key: ${{ secrets.SSH_KEY }} - proxy_host: ${{ secrets.GATEWAY_HOST }} - proxy_username: ${{ secrets.GATEWAY_USER }} - proxy_key: ${{ secrets.GATEWAY_SSH_KEY }} - proxy_port: ${{ secrets.GATEWAY_PORT }} + proxy_host: ${{ vars.DEPLOYMENT_GATEWAY_HOST }} + proxy_username: ${{ vars.DEPLOYMENT_GATEWAY_USER }} + proxy_key: ${{ secrets.DEPLOYMENT_GATEWAY_SSH_KEY }} + proxy_port: ${{ vars.DEPLOYMENT_GATEWAY_PORT }} source: 'docker-compose.yml' target: '/opt/artemis-telemetry' @@ -34,10 +34,10 @@ jobs: host: ${{ vars.URL }} username: ${{ secrets.SSH_USER }} key: ${{ secrets.SSH_KEY }} - proxy_host: ${{ secrets.GATEWAY_HOST }} - proxy_username: ${{ secrets.GATEWAY_USER }} - proxy_key: ${{ secrets.GATEWAY_SSH_KEY }} - proxy_port: ${{ secrets.GATEWAY_PORT }} + proxy_host: ${{ vars.DEPLOYMENT_GATEWAY_HOST }} + proxy_username: ${{ vars.DEPLOYMENT_GATEWAY_USER }} + proxy_key: ${{ secrets.DEPLOYMENT_GATEWAY_SSH_KEY }} + proxy_port: ${{ vars.DEPLOYMENT_GATEWAY_PORT }} source: 'docker-compose.prod.yml' target: '/opt/artemis-telemetry'