Skip to content

Commit 522f2a3

Browse files
committed
try get deploy URL in ci/cd
1 parent e5ba314 commit 522f2a3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/static.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ jobs:
3636
- name: Install dependencies
3737
run: npm ci
3838

39+
- name: Set I4K_FIND_URL fallback
40+
run: |
41+
echo "I4K_FIND_URL=${{ vars.I4K_FIND_URL != '' ? vars.I4K_FIND_URL: steps.deployment.outputs.page_url }}" >> $GITHUB_ENV
42+
3943
- name: Generate opensearch.xml
4044
run: npm run opensearch assets/opensearch.xml
4145

0 commit comments

Comments
 (0)