Generate typedoc and put in GH pages dir (#369)

* Generate typedoc and put in GH pages dir
This commit is contained in:
Brandon Liu
2024-02-25 17:44:21 +08:00
committed by GitHub
parent e2d9dd40bd
commit 264b1d0db8

View File

@@ -25,6 +25,7 @@ jobs:
- run: cd serverless/cloudflare && cp wrangler.toml.example wrangler.toml && npm install && npx tsc && npm run biome-check && npm run build && cp dist/index.js ../../app/dist - run: cd serverless/cloudflare && cp wrangler.toml.example wrangler.toml && npm install && npx tsc && npm run biome-check && npm run build && cp dist/index.js ../../app/dist
- run: cd spec/v3 && cp *.pmtiles ../../app/dist - run: cd spec/v3 && cp *.pmtiles ../../app/dist
- run: cd js/examples && mkdir ../../app/dist/examples && cp *.html ../../app/dist/examples/ - run: cd js/examples && mkdir ../../app/dist/examples && cp *.html ../../app/dist/examples/
- run: cd js && npm install && npx typedoc index.ts --out ../app/dist/typedoc
- run: cd openlayers/examples && mkdir ../../app/dist/examples/openlayers && cp *.html ../../app/dist/examples/openlayers - run: cd openlayers/examples && mkdir ../../app/dist/examples/openlayers && cp *.html ../../app/dist/examples/openlayers
- name: build_app - name: build_app
uses: peaceiris/actions-gh-pages@v3 uses: peaceiris/actions-gh-pages@v3