Skip to content

v3.2.1 (#4409)

v3.2.1 (#4409) #775

name: Deploy documentation
on:
push:
branches:
- master
jobs:
deploy_github_pages:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: NPM install
run: npm ci
# - name: Lint TypeScript sources
# run: npm run lint
- name: Build packages
run: npm run build
- name: Generate fidelity artifacts
continue-on-error: true
uses: GabrielBB/[email protected]
with:
run: npm run test --workspace=@google/model-viewer-render-fidelity-tools
- name: Stage documentation artifacts
run: ./packages/modelviewer.dev/scripts/ci-before-deploy.sh
- name: Deploy to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
force_orphan: true
publish_dir: ./packages/modelviewer.dev/dist