mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 05:01:43 +00:00
hardcode embedded step to releases.rancher.com/harvester-ui/dashboard
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
parent
28ece801d5
commit
161adde1da
2
.github/workflows/build-and-upload.yaml
vendored
2
.github/workflows/build-and-upload.yaml
vendored
@ -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
|
||||
|
||||
@ -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..."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user