Skip to content

Commit 9bc06fa

Browse files
committed
feat: update demo paths to use CDN in deployment workflow
1 parent ada0916 commit 9bc06fa

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/deploy-demo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ jobs:
4646
cp -r demo/* gh-pages/
4747
# Update paths in demo to use CDN (escape dots in patterns)
4848
sed -i 's|\.\./src/index\.ts|https://unpkg.com/@softwarity/interactive-code|g' gh-pages/index.html
49+
sed -i 's|\.\./themes/|https://unpkg.com/@softwarity/interactive-code/themes/|g' gh-pages/index.html
4950
5051
- name: Setup Pages
5152
uses: actions/configure-pages@v4

0 commit comments

Comments
 (0)