fix: enable export of scenes with KTX2 compressed textures (#5142) #938
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Deploy documentation | |
| on: | |
| push: | |
| branches: | |
| - master | |
| permissions: | |
| contents: write | |
| jobs: | |
| deploy_github_pages: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 60 | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - uses: actions/setup-node@v6 | |
| - name: NPM install | |
| run: npm ci | |
| # - name: Lint TypeScript sources | |
| # run: npm run lint | |
| - name: Build packages | |
| run: npm run build | |
| - name: Stage documentation artifacts | |
| run: ./packages/modelviewer.dev/scripts/ci-before-deploy.sh | |
| - name: Deploy to Github Pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_branch: gh-pages | |
| force_orphan: true | |
| publish_dir: ./packages/modelviewer.dev/dist |