add js examples to gh-pages build

This commit is contained in:
Brandon Liu
2022-10-24 22:24:29 +08:00
parent d689776a18
commit 95b376fcf3
4 changed files with 1 additions and 22 deletions

View File

@@ -24,6 +24,7 @@ jobs:
- run: cd serverless/aws && npm install && npm run build && cp dist/lambda_function.zip ../../app/dist
- run: cd serverless/cloudflare && npm install && npm run build && cp dist/index.js ../../app/dist
- run: cd spec/v3 && cp *.pmtiles ../../app/dist
- run: cd js/examples && cp *.html ../../app/dist/examples/
- name: build_app
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/master' }}