Skip to content

Commit

Permalink
cleanup and redirect (google#4782)
Browse files Browse the repository at this point in the history
  • Loading branch information
elalish authored May 17, 2024
1 parent b547092 commit 17dd775
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/deploy-documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ jobs:
- 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

Expand Down
27 changes: 27 additions & 0 deletions packages/modelviewer.dev/examples/fidelity.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!--
/* @license
* Copyright 2024 Google Inc. All Rights Reserved.
* Licensed under the Apache License, Version 2.0 (the 'License');
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an 'AS IS' BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-->

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="refresh" content="0; url='https://github.khronos.org/glTF-Render-Fidelity/comparison/'" />
</head>
<body>
<p>This glTF render fidelity comparison page has moved to official Khronos ownership and now lives at <a href="https://github.khronos.org/glTF-Render-Fidelity/comparison/">this link</a>.</p>
</body>
</html>
2 changes: 2 additions & 0 deletions packages/modelviewer.dev/scripts/ci-before-deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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/
Expand Down

0 comments on commit 17dd775

Please sign in to comment.