Skip to content

Commit 5f286d2

Browse files
committed
Fetch Djot grammar at build time from djot-intellij
1 parent d9dd69f commit 5f286d2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ jobs:
3737
- name: Setup Pages
3838
uses: actions/configure-pages@v5
3939

40+
- name: Fetch latest Djot grammar
41+
run: |
42+
mkdir -p docs/.vitepress/grammars
43+
curl -fsSL -o docs/.vitepress/grammars/djot.tmLanguage.json \
44+
https://raw.githubusercontent.com/php-collective/djot-intellij/main/src/main/resources/textmate/djot.tmLanguage.json
45+
4046
- name: Install dependencies
4147
run: npm ci
4248
working-directory: docs

0 commit comments

Comments
 (0)