Skip to content

expand NPM install instructions (#4952) #887

expand NPM install instructions (#4952)

expand NPM install instructions (#4952) #887

name: Deploy documentation
on:
push:
branches:
- master
jobs:
deploy_github_pages:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-node@v4
- 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