From f557df59fcd42fedfa3ac57448363e1edf71a47b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20Krzy=C5=9Bk=C3=B3w?= Date: Tue, 24 Sep 2024 05:46:40 +0200 Subject: [PATCH] ci: add input to reusable deploy --- .github/workflows/reusable_deploy.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/reusable_deploy.yml b/.github/workflows/reusable_deploy.yml index 64c0c4a..9e7259c 100644 --- a/.github/workflows/reusable_deploy.yml +++ b/.github/workflows/reusable_deploy.yml @@ -2,6 +2,9 @@ name: Reusable Nype Deploy CI on: workflow_call: + inputs: + INPUT_ENV: + type: string secrets: SSH_PRIVATE_KEY: required: true @@ -26,6 +29,10 @@ jobs: deploy: runs-on: ubuntu-latest steps: + - run: | + echo ${{ inputs.INPUT_ENV }} >> $GITHUB_ENV + echo $GITHUB_ENV + cat $GITHUB_ENV - uses: actions/checkout@v4 - name: Configure Git Credentials run: |