Add commit hash and remove "Upload File" button from MuJoCo Live.
PiperOrigin-RevId: 914909503 Change-Id: I084d888eb5093b4278e758697bff43ff941c79d0
This commit is contained in:
committed by
Copybara-Service
parent
9230b34fed
commit
f7e00d041e
@@ -33,6 +33,10 @@ jobs:
|
||||
mkdir -p dist/bin
|
||||
cp -r build_wasm/bin/* dist/bin/
|
||||
cp src/experimental/studio/index.html dist/index.html
|
||||
COMMIT_HASH=$(git rev-parse HEAD 2>/dev/null || true)
|
||||
if [ -n "$COMMIT_HASH" ]; then
|
||||
sed -i "s/__COMMIT_HASH_PLACEHOLDER__/$COMMIT_HASH/g" dist/index.html
|
||||
fi
|
||||
|
||||
- name: Upload GitHub Pages artifacts
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
|
||||
Reference in New Issue
Block a user