File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments