Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update main.yml
Browse files Browse the repository at this point in the history
satayyeb authored Sep 16, 2023

Verified

This commit was signed with the committer’s verified signature.
1 parent 6a09f69 commit 019e416
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -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() }}



0 comments on commit 019e416

Please sign in to comment.