diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 15c24de..576c24e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -16,16 +16,14 @@ jobs: method: 'GET' timeout: 20000 customHeaders: '{"Authorization": "${{ secrets.DEPLOY_KEY }}"}' - # - name: Print Deploy Response - # run: | - # echo ${{ fromJson(steps.deploy.outputs.response).detail }} - # echo ${{ fromJson(steps.deploy.outputs.response).stdout }} - # echo ${{ fromJson(steps.deploy.outputs.response).stderr }} - # - name: The job has failed - - if: ${{ failure() || !fromJSON(steps.deploy.outputs.response).success}} + - name: Print Deploy Response + run: | + echo "detail: ${{ fromJson(steps.deploy.outputs.response).detail }}" + echo "stdout: ${{ fromJson(steps.deploy.outputs.response).stdout }}" + echo "stderr: ${{ fromJson(steps.deploy.outputs.response).stderr }}" + - name: Check deploy failure + if: ${{ failure() || !fromJSON(steps.deploy.outputs.response).success}} run: exit 1 - # - name: The job has succeeded - # if: ${{ success() }}