hardcode embedded step to releases.rancher.com/harvester-ui/dashboard

Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
andy.lee 2025-01-06 20:28:57 +08:00
parent 28ece801d5
commit 161adde1da
No known key found for this signature in database
GPG Key ID: 10911689462678C7
2 changed files with 5 additions and 1 deletions

View File

@ -104,7 +104,7 @@ jobs:
uses: 'google-github-actions/upload-cloud-storage@v2'
with:
path: ${{steps.build-embedded.outputs.BUILD_EMBEDED_TGZ}}
destination: releases.rancher.com/harvester-ui/${{ env.REPO }}
destination: releases.rancher.com/harvester-ui/dashboard
parent: false
headers: |-
cache-control: no-cache,must-revalidate

View File

@ -18,6 +18,10 @@ echo "BRANCH: ${COMMIT_BRANCH:-<none>}"
echo "TAG: ${GIT_TAG:-<none>}"
DIR=${GIT_TAG:-$COMMIT_BRANCH}
if [[ "${DIR}" == "main" ]]; then
DIR="latest"
fi
OUTPUT_DIR=dist/${DIR}-embedded
echo "Building..."