Skip to content

Commit a3e261d

Browse files
committed
final test
Signed-off-by: dalthecow <[email protected]>
1 parent 2a1cefe commit a3e261d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/development.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,9 @@ jobs:
236236
echo "pr_number=${PR_NUMBER}" >> $GITHUB_OUTPUT
237237
238238
# Set asset prefix and base path with PR number
239-
ASSET_PREFIX=https://blog.vllm.ai/guidellm/ui/pr/${PR_NUMBER}
239+
ASSET_PREFIX=https://blog.vllm.ai/guidellm/ui/pr/${{ github.ref_name }}
240240
USE_MOCK_DATA=true
241-
BASE_PATH=/ui/pr/${PR_NUMBER}
241+
BASE_PATH=/ui/pr/${{ github.ref_name }}
242242
GIT_SHA=${{ github.sha }}
243243
export ASSET_PREFIX=${ASSET_PREFIX}
244244
export BASE_PATH=${BASE_PATH}
@@ -252,7 +252,7 @@ jobs:
252252
with:
253253
github_token: ${{ secrets.GITHUB_TOKEN }}
254254
publish_dir: ./src/ui/out
255-
destination_dir: ui/pr/$GITHUB_REF/${{ github.ref_name }}
255+
destination_dir: ui/pr/${{ steps.build.outputs.pr_number }}
256256
keep_files: false
257257
user_name: ${{ github.actor }}
258258
user_email: ${{ github.actor }}@users.noreply.github.com

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,8 @@ jobs:
221221
export $(grep -v '^#' .env.production | xargs)
222222
223223
# Set asset prefix and base path with git tag
224-
ASSET_PREFIX=https://blog.vllm.ai/guidellm/ui/${TAG}
225-
BASE_PATH=/ui/${TAG}
224+
ASSET_PREFIX=https://blog.vllm.ai/guidellm/ui/${{ github.ref_name }}
225+
BASE_PATH=/ui/${{ github.ref_name }}
226226
GIT_SHA=${{ github.sha }}
227227
export ASSET_PREFIX=${ASSET_PREFIX}
228228
export BASE_PATH=${BASE_PATH}

0 commit comments

Comments
 (0)