Skip to content

Commit 6ca19ae

Browse files
committed
ci: fix publish job
Fixes the publish job, the the charts are pushed into the fright dircetory.
1 parent d510385 commit 6ca19ae

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/.reusable-publish.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,16 @@ jobs:
3838
CHART_VERSION="${{ inputs.chart_version }}"
3939
helm package charts/connaisseur
4040
git checkout . # Remove changes to Chart for git checkout
41-
mkdir -p tmp_charts
42-
mv connaisseur*.tgz ./tmp_charts
4341
git checkout gh-pages
44-
cd tmp_charts
42+
mv connaisseur*.tgz ./charts
43+
cd ./charts
4544
helm repo index . --url https://sse-secure-systems.github.io/connaisseur/charts
4645
cd ..
47-
git add ./tmp_charts
46+
git add ./charts
4847
git commit -m "Publish helm chart ${CHART_VERSION}"
4948
git push https://${{ secrets.GITHUB_TOKEN }}@github.com/sse-secure-systems/connaisseur.git
5049
5150
publish_docs:
5251
uses: ./.github/workflows/.reusable-docs.yaml
5352
permissions:
54-
contents: write
53+
contents: write

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ jobs:
1515
permissions:
1616
contents: write
1717
with:
18-
chart_version: ${{ needs.build.outputs.chart_version }}
18+
chart_version: ${{ inputs.chart_version }}

0 commit comments

Comments
 (0)