fix: Netlify preview broken

This commit is contained in:
Valere
2026-02-10 15:11:43 +01:00
parent a329ae0ad1
commit 73245e875d
2 changed files with 18 additions and 0 deletions

View File

@@ -64,6 +64,8 @@ jobs:
- name: Add config file
run: |
if [ "${{ inputs.package }}" = "full" ]; then
curl -s "https://raw.githubusercontent.com/${{ inputs.pr_head_full_name }}/${{ inputs.pr_head_ref }}/config/config_netlify_preview.json" > webapp/config.json
else
curl -s "https://raw.githubusercontent.com/${{ inputs.pr_head_full_name }}/${{ inputs.pr_head_ref }}/config/config_netlify_preview_sdk.json" > webapp/config.json
fi
- name: ☁️ Deploy to Netlify