Skip to content

Commit f255ff7

Browse files
Skip index.json deploy for partial product builds
1 parent 250227d commit f255ff7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/build-and-deploy.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,10 @@ jobs:
197197
- name: Move MD files to ugly URLs
198198
run: ./move_md_to_ugly_urls.sh
199199

200+
- name: Remove index.json (published separately by publish-index-json workflow)
201+
if: ${{ !inputs.all_products }}
202+
run: rm -f ./public/index.json
203+
200204
- name: Deploy artifacts
201205
uses: nogsantos/scp-deploy@master
202206
with:

0 commit comments

Comments
 (0)