From 9cbecc769907c639f34af1dc466f1818bf658e84 Mon Sep 17 00:00:00 2001 From: maltayyar2 Date: Thu, 15 Jan 2026 01:54:50 +0300 Subject: [PATCH] ci: add specific_host input to Odoo 14 workflows --- .github/workflows/deploy-manager.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-manager.yml b/.github/workflows/deploy-manager.yml index 784956682..78a0865d7 100644 --- a/.github/workflows/deploy-manager.yml +++ b/.github/workflows/deploy-manager.yml @@ -18,6 +18,11 @@ on: - preprod - prod default: 'dev' + specific_host: + description: 'Specific Server IP (Optional)' + required: false + type: string + default: '' force_restart: description: 'Force Service Restart' required: true @@ -95,7 +100,7 @@ jobs: if: steps.context.outputs.ENV != '' uses: appleboy/ssh-action@v1.0.0 with: - host: ${{ secrets.HYDRA_HOST }} + host: ${{ inputs.specific_host != '' && inputs.specific_host || secrets.HYDRA_HOST }} username: ${{ secrets.HYDRA_USER }} key: ${{ secrets.HYDRA_SSH_KEY }} port: 22