Skip to content

Commit 6a22b5c

Browse files
committed
fix(cd): injecting base_href properly on build
1 parent 64ecac9 commit 6a22b5c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/cd-matrix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ jobs:
110110
111111
- name: Update package.json with base href
112112
run: |
113-
sed -i 's|--configuration production|--base-href=${{ matrix.base_href }} --configuration production|g' package.json
113+
sed -i 's|--configuration production|--base-href=/${{ matrix.base_href }}/ --configuration production|g' package.json
114114
115115
- name: Generate live-editing
116116
run: npm ${{ matrix.custom_command }}

0 commit comments

Comments
 (0)