mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-15 14:11:46 +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'
|
uses: 'google-github-actions/upload-cloud-storage@v2'
|
||||||
with:
|
with:
|
||||||
path: ${{steps.build-embedded.outputs.BUILD_EMBEDED_TGZ}}
|
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
|
parent: false
|
||||||
headers: |-
|
headers: |-
|
||||||
cache-control: no-cache,must-revalidate
|
cache-control: no-cache,must-revalidate
|
||||||
|
|||||||
@ -18,6 +18,10 @@ echo "BRANCH: ${COMMIT_BRANCH:-<none>}"
|
|||||||
echo "TAG: ${GIT_TAG:-<none>}"
|
echo "TAG: ${GIT_TAG:-<none>}"
|
||||||
DIR=${GIT_TAG:-$COMMIT_BRANCH}
|
DIR=${GIT_TAG:-$COMMIT_BRANCH}
|
||||||
|
|
||||||
|
if [[ "${DIR}" == "main" ]]; then
|
||||||
|
DIR="latest"
|
||||||
|
fi
|
||||||
|
|
||||||
OUTPUT_DIR=dist/${DIR}-embedded
|
OUTPUT_DIR=dist/${DIR}-embedded
|
||||||
|
|
||||||
echo "Building..."
|
echo "Building..."
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user