Spaces:
Running
Running
Update Space colors: prod indigo, staging red
Browse filesCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- README.md +1 -1
- scripts/push-staging.sh +2 -2
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
title: NowAI-Bench
|
| 3 |
emoji: π
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: gray
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
| 1 |
---
|
| 2 |
title: NowAI-Bench
|
| 3 |
emoji: π
|
| 4 |
+
colorFrom: indigo
|
| 5 |
colorTo: gray
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
scripts/push-staging.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
#!/usr/bin/env bash
|
| 2 |
# Push main to staging HF Space and patch its title/color.
|
| 3 |
#
|
| 4 |
-
# README.md in git stays prod-canonical (title: NowAI-Bench, colorFrom:
|
| 5 |
# After each push, huggingface_hub.metadata_update() commits a README patch
|
| 6 |
# directly on the staging Space. We force-push on the next run to overwrite it,
|
| 7 |
# so that commit never needs to be merged locally.
|
|
@@ -10,7 +10,7 @@ set -euo pipefail
|
|
| 10 |
STAGING_REMOTE="origin"
|
| 11 |
STAGING_SPACE="ServiceNow-AI/NowAI-Bench-Staging"
|
| 12 |
STAGING_TITLE="NowAI-Bench Staging"
|
| 13 |
-
STAGING_COLOR="
|
| 14 |
|
| 15 |
echo "β Force-pushing to staging (overwrites prior metadata patch)..."
|
| 16 |
git push --force "$STAGING_REMOTE" main
|
|
|
|
| 1 |
#!/usr/bin/env bash
|
| 2 |
# Push main to staging HF Space and patch its title/color.
|
| 3 |
#
|
| 4 |
+
# README.md in git stays prod-canonical (title: NowAI-Bench, colorFrom: indigo).
|
| 5 |
# After each push, huggingface_hub.metadata_update() commits a README patch
|
| 6 |
# directly on the staging Space. We force-push on the next run to overwrite it,
|
| 7 |
# so that commit never needs to be merged locally.
|
|
|
|
| 10 |
STAGING_REMOTE="origin"
|
| 11 |
STAGING_SPACE="ServiceNow-AI/NowAI-Bench-Staging"
|
| 12 |
STAGING_TITLE="NowAI-Bench Staging"
|
| 13 |
+
STAGING_COLOR="red"
|
| 14 |
|
| 15 |
echo "β Force-pushing to staging (overwrites prior metadata patch)..."
|
| 16 |
git push --force "$STAGING_REMOTE" main
|