From 1ee884fec7971605dd9cdb502214c7af71ec87b3 Mon Sep 17 00:00:00 2001 From: Mohamed ER-Radi Date: Mon, 6 May 2024 18:02:17 +0200 Subject: [PATCH] fix show ip server --- .github/workflows/terraform-staging.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/terraform-staging.yml b/.github/workflows/terraform-staging.yml index f4097bc49..5915ebd4f 100644 --- a/.github/workflows/terraform-staging.yml +++ b/.github/workflows/terraform-staging.yml @@ -52,12 +52,14 @@ jobs: #run: echo "server_public_ip={$(cd terraform; terraform output -raw server_public_ip)}" >> $GITHUB_OUTPUT run: | cd terraform - echo "::set-output name=server_public_ip::$(terraform output -raw server_public_ip)" - #echo "server_public_ip=$(terraform output -raw server_public_ip)" >> $GITHUB_OUTPUT + #echo "::set-output name=server_public_ip::$(terraform output -raw server_public_ip)" + echo "server_public_ip=$(terraform output -raw server_public_ip)" >> $GITHUB_OUTPUT if: success() - name: Show IP - run: echo "Public IP ${{steps.get_server_ip.outputs.server_public_ip}}" + run: | + echo "Public IP ${{steps.get_server_ip.outputs.server_public_ip}}" + echo "Public IP ${{steps.get_server_ip.outputs}}" - name: Create .env file env: @@ -90,7 +92,7 @@ jobs: shell: bash #env: # server: ${{ steps.get_server_ip.outputs.server_public_ip }} - if: success() + #if: success() - name: Terraform Destroy run: |