Skip to content

Commit

Permalink
hardcode embedded step to releases.rancher.com/harvester-ui/dashboard
Browse files Browse the repository at this point in the history
Signed-off-by: andy.lee <[email protected]>
  • Loading branch information
a110605 committed Jan 6, 2025
1 parent 28ece80 commit 161adde
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-upload.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions scripts/build-embedded
Original file line number Diff line number Diff line change
Expand Up @@ -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..."
Expand Down

0 comments on commit 161adde

Please sign in to comment.