Skip to content

Commit 9cdea22

Browse files
committed
fix: Coveo workflow to run regardless of environments result
1 parent 6b10804 commit 9cdea22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/coveo.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ jobs:
2525
run: sudo apt-get install jq
2626

2727
- name: Generating token for ${{matrix.env_name}} ...
28+
id: generate-token
29+
continue-on-error: true
2830
env:
2931
COVEO_API_KEY: ${{secrets[matrix.env_api_key]}}
3032
COVEO_SEARCH_HUB: "HUB_ES_Nginx_Docs_And_Org"
@@ -61,6 +63,7 @@ jobs:
6163
echo "{\"token\": \"$SEARCH_TOKEN\", \"org_id\": \"${{matrix.env_coveo_org_id}}\"}" > coveo/search_token.json
6264
6365
- name: Upload token for ${{matrix.env_name}}
66+
if: ${{ steps.generate-token.outcome == 'success' }}
6467
uses: actions/upload-artifact@v4
6568
with:
6669
name: ${{matrix.env_name}}

0 commit comments

Comments
 (0)