From 9b04821db0f3d59d8fcd94835f7d6f71ca9a7783 Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Mon, 11 Nov 2024 15:44:54 +0100 Subject: [PATCH] fixed token --- .gitea/workflows/buildcharts.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/buildcharts.yaml b/.gitea/workflows/buildcharts.yaml index bd94dff..3bb0ebc 100644 --- a/.gitea/workflows/buildcharts.yaml +++ b/.gitea/workflows/buildcharts.yaml @@ -30,7 +30,7 @@ jobs: - name: build helm package shell: bash env: - PACKAGE_TOKEN: ${{ secrets.REPO_HOST }} + PACKAGE_TOKEN: ${{ secrets.PACKAGE_TOKEN }} CHART_NAME: ${{ steps.chart_name.outputs.result }} CHART_VERSION: ${{ steps.chart_version.outputs.result }} ALL_CHANGED_CHARTS: ${{ steps.changed-files.outputs.all_changed_files }} @@ -45,5 +45,5 @@ jobs: echo "Packaging ${CHART_NAME}-${CHART_VERSION}" helm package . echo "$(ls -l)" - curl -H "Authorization: token $PACKAGE_TOKEN" -X POST --upload-file ${CHART_NAME}-${CHART_VERSION}.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts + echo "curl -H \"Authorization: token $PACKAGE_TOKEN\" -X POST --upload-file ${CHART_NAME}-${CHART_VERSION}.tgz https://git.rre.nu/api/packages/jonas/helm/api/charts" done