Skip to content
This repository was archived by the owner on Nov 1, 2022. It is now read-only.

build: Stop publishing Flux chart to gh-pages #2750

Merged
merged 1 commit into from
Jan 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@ jobs:
git config --global user.email fluxcdbot@users.noreply.github.com
git config --global user.name fluxcdbot

# Push to fluxcd/flux gh-pages branch
if echo "${CIRCLE_TAG}" | grep -Eq "chart-[0-9]+(\.[0-9]+)*(-[a-z]+)?$"; then
REPOSITORY="https://fluxcdbot:${GITHUB_TOKEN}@github.com/fluxcd/flux.git"
git remote set-url origin ${REPOSITORY}
git checkout gh-pages
cp $HOME/chart/*.tgz .
helm repo index . --url https://fluxcd.github.io/flux
git add .
git commit -m "Publish Helm chart"
git push origin gh-pages
else
echo "Not a chart release! Skip chart publish"
fi
# Push to fluxcd/charts gh-pages branch
if echo "${CIRCLE_TAG}" | grep -Eq "chart-[0-9]+(\.[0-9]+)*(-[a-z]+)?$"; then
REPOSITORY="https://fluxcdbot:${GITHUB_TOKEN}@github.com/fluxcd/charts.git"
Expand Down