Skip to content

Commit

Permalink
Automatic deployment of the viewer
Browse files Browse the repository at this point in the history
  • Loading branch information
mandel committed Sep 27, 2024
1 parent 80e2a49 commit 8d3c74f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/mkdocs-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,16 @@ jobs:
with:
node-version: 22
- name: Install dependencies
working-directory: ./pdl-live
run: npm install
- name: Generate pdl_ast.d.ts
working-directory: ./pdl-live
run: npx json2ts ../pdl-schema.json src/pdl_ast.d.ts --unreachableDefinitions
- name: Build viewer
working-directory: ./pdl-live
run: npm run build
- name: Copy viewer
working-directory: ./pdl-live
run: cp ./dist/bundle.js ../docs/dist/bundle.js
# Docs
- name: Setup Pages
Expand Down

0 comments on commit 8d3c74f

Please sign in to comment.