Skip to content

Commit a937e1b

Browse files
committed
try again
Signed-off-by: dalthecow <[email protected]>
1 parent a3e261d commit a937e1b

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
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/${{ github.ref_name }}
239+
ASSET_PREFIX=https://blog.vllm.ai/guidellm/ui/pr/${PR_NUMBER}
240240
USE_MOCK_DATA=true
241-
BASE_PATH=/ui/pr/${{ github.ref_name }}
241+
BASE_PATH=/ui/pr/${PR_NUMBER}
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/${{ steps.build.outputs.pr_number }}
255+
destination_dir: ui/pr/${{ github.ref_name }}
256256
keep_files: false
257257
user_name: ${{ github.actor }}
258258
user_email: ${{ github.actor }}@users.noreply.github.com

.github/workflows/release.yml

Lines changed: 3 additions & 3 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/${{ github.ref_name }}
225-
BASE_PATH=/ui/${{ github.ref_name }}
224+
ASSET_PREFIX=https://blog.vllm.ai/guidellm/ui/${{TAG}}
225+
BASE_PATH=/ui/${{TAG}}
226226
GIT_SHA=${{ github.sha }}
227227
export ASSET_PREFIX=${ASSET_PREFIX}
228228
export BASE_PATH=${BASE_PATH}
@@ -234,7 +234,7 @@ jobs:
234234
with:
235235
github_token: ${{ secrets.GITHUB_TOKEN }}
236236
publish_dir: ./src/ui/out
237-
destination_dir: ui/${TAG}
237+
destination_dir: ui/${{ github.ref_name }}
238238
keep_files: false
239239
user_name: ${{ github.actor }}
240240
user_email: ${{ github.actor }}@users.noreply.github.com

0 commit comments

Comments
 (0)