From b31e9926e44314f5694a68b533ce0126594d3aa0 Mon Sep 17 00:00:00 2001 From: Emmett Lalish Date: Fri, 17 May 2024 16:11:44 -0700 Subject: [PATCH] cleanup and redirect --- .github/workflows/deploy-documentation.yml | 6 ----- .../modelviewer.dev/examples/fidelity.html | 27 +++++++++++++++++++ .../scripts/ci-before-deploy.sh | 2 ++ 3 files changed, 29 insertions(+), 6 deletions(-) create mode 100644 packages/modelviewer.dev/examples/fidelity.html diff --git a/.github/workflows/deploy-documentation.yml b/.github/workflows/deploy-documentation.yml index ace4a09d62..12fec369da 100644 --- a/.github/workflows/deploy-documentation.yml +++ b/.github/workflows/deploy-documentation.yml @@ -28,12 +28,6 @@ jobs: - name: Build packages run: npm run build - - name: Generate fidelity artifacts - continue-on-error: true - uses: GabrielBB/xvfb-action@v1.0 - 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 diff --git a/packages/modelviewer.dev/examples/fidelity.html b/packages/modelviewer.dev/examples/fidelity.html new file mode 100644 index 0000000000..b0fa160e6f --- /dev/null +++ b/packages/modelviewer.dev/examples/fidelity.html @@ -0,0 +1,27 @@ + + + + + + + + + +

This glTF render fidelity comparison page has moved to official Khronos ownership and now lives at this link.

+ + diff --git a/packages/modelviewer.dev/scripts/ci-before-deploy.sh b/packages/modelviewer.dev/scripts/ci-before-deploy.sh index fe9fe713bd..2cc39e433e 100755 --- a/packages/modelviewer.dev/scripts/ci-before-deploy.sh +++ b/packages/modelviewer.dev/scripts/ci-before-deploy.sh @@ -97,6 +97,7 @@ done set -x # Copy the latest fidelity testing results: +mkdir -p $DEPLOY_ROOT/fidelity mkdir -p $DEPLOY_ROOT/editor mkdir -p $DEPLOY_ROOT/editor/view mkdir -p $DEPLOY_ROOT/dist @@ -109,6 +110,7 @@ mkdir -p $DEPLOY_ROOT/node_modules/@google/model-viewer-effects/dist mkdir -p $DEPLOY_ROOT/node_modules/js-beautify mkdir -p $DEPLOY_ROOT/node_modules/web-animations-js +cp examples/fidelity.html $DEPLOY_ROOT/fidelity/index.html cp ../space-opera/editor/index.html $DEPLOY_ROOT/editor/ cp ../space-opera/editor/view/index.html $DEPLOY_ROOT/editor/view/ cp ../space-opera/dist/space-opera.js $DEPLOY_ROOT/dist/