Skip to content

Commit

Permalink
Merge pull request #235 from vania-pooh/master
Browse files Browse the repository at this point in the history
Default value for build var
  • Loading branch information
vania-pooh committed Dec 20, 2023
2 parents ec18864 + 57573b7 commit 3e9bec9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
git fetch --tags
export COMMIT=$(git rev-parse --short HEAD)
ci/build.sh $COMMIT ${{ github.event.inputs.regenerateIndex }} unstable
ci/build.sh $COMMIT ${{ github.event.inputs.regenerateIndex != '' && github.event.inputs.regenerateIndex || 'false' }} unstable
env:
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
run: echo "RELEASE_VERSION=${GITHUB_REF:10}" >> $GITHUB_ENV

- name: Build
run: ci/build.sh $RELEASE_VERSION ${{ github.event.inputs.regenerateIndex }}
run: ci/build.sh $RELEASE_VERSION ${{ github.event.inputs.regenerateIndex != '' && github.event.inputs.regenerateIndex || 'false' }}
env:
S3_ENDPOINT: ${{ secrets.S3_ENDPOINT }}
S3_BUCKET_NAME: ${{ secrets.S3_BUCKET_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion ci/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ if [ -n "$regenerate" ] && [ "$regenerate" = "true" ]; then
cp regenerate/index.yaml .
rm -Rf "$regenerateDir"
else
wget -O index.yaml "$CHARTS_REPO/index.yaml"
wget -O index.yaml "$CHARTS_REPO"index.yaml
fi
helm repo index . --url "$CHARTS_REPO" --merge index.yaml

0 comments on commit 3e9bec9

Please sign in to comment.