Skip to content

Commit bb5cc95

Browse files
committed
Try fix playground
1 parent 64249e6 commit bb5cc95

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.github/workflows/gh-pages.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ jobs:
3535
- name: Export playground
3636
run: npx tree-sitter playground --export ./public
3737

38+
- name: Set LANGUAGE_BASE_URL for GitHub Pages
39+
run: |
40+
sed -i 's|LANGUAGE_BASE_URL = ""|LANGUAGE_BASE_URL = "/tree-sitter-rescript"|' ./public/index.html
41+
3842
- name: Setup Pages
3943
uses: actions/configure-pages@v5
4044

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,6 @@ zig-out/
4949
# Others
5050
log.html
5151
test_wild/
52+
53+
# Playground
54+
public/

0 commit comments

Comments
 (0)