Skip to content

Commit 744ce5a

Browse files
committed
fix: get job logs correctly
1 parent 5f6cd57 commit 744ce5a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/reusable-ecamp3-deployment.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,12 @@ jobs:
4444
name: ${{ inputs.env }}
4545
steps:
4646
- name: Get link to currently running job logs
47+
if: ${{ inputs.env == 'feature-branch' }}
4748
uses: Tiryoh/gha-jobid-action@v1.4.0
4849
id: job-url
4950
with:
5051
github_token: ${{ secrets.GITHUB_TOKEN }}
51-
job_name: Deploy to Kubernetes
52+
job_name: Upgrade or install deployment / Deploy to Kubernetes
5253

5354
- name: Create a pending GitHub deployment
5455
uses: bobheadxi/deployments@v1.5.0
@@ -99,7 +100,7 @@ jobs:
99100
IMAGE_TAG: "${{ inputs.sha }}",
100101
RESTORE_SOURCE_FILE: "${{ inputs.restoreSourceFile || '' }}",
101102
DROP_DB_ON_UNINSTALL: ${{ inputs.dropDBOnUninstall }}
102-
}') > /tmp/additions.json
103+
}' > /tmp/additions.json
103104
jq -s '.[0] + .[1] + .[2]' /tmp/secrets.json /tmp/vars.json /tmp/additions.json > .helm/ecamp3/env.yaml
104105
jq '.' .helm/ecamp3/env.yaml
105106

0 commit comments

Comments
 (0)