openlayers: add copy of code for script includes; migrate examples [#3]

This commit is contained in:
Brandon Liu
2023-05-10 20:20:37 +08:00
parent 7ec4ecbcdb
commit 089a732c54
9 changed files with 583 additions and 175 deletions

View File

@@ -25,6 +25,7 @@ jobs:
- run: cd serverless/cloudflare && cp wrangler.toml.example wrangler.toml && npm install && npm run build && cp dist/index.js ../../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 openlayers/examples && mkdir ../../app/dist/examples/openlayers && cp *.html ../../app/dist/examples/openlayers
- name: build_app
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}