move index.yaml to this repo (prepare to move website away)

This commit is contained in:
kjeld Schouten-Lebbing
2022-03-29 23:31:51 +02:00
parent 96fca1e641
commit d4d94808b2
4 changed files with 3 additions and 26 deletions
-14
View File
@@ -67,7 +67,6 @@ main() {
gen_dh_cat
release_charts
update_index
upload_index
fi
validate_catalog
upload_catalog
@@ -744,17 +743,4 @@ update_index() {
}
export -f update_index
upload_index() {
cd chartsrepo
echo "uploading index.yaml..."
git config user.name "TrueCharts-Bot"
git config user.email "bot@truecharts.org"
git add --all
git commit -sm "Commit new Chart releases for TrueCharts" || exit 0
git push
cd -
rm -rf chartsrepo
}
export -f upload_index
main "$@"