From e776bb519b9330d72e017f2c01e0497b66270b8f Mon Sep 17 00:00:00 2001 From: Kenneth Jao Date: Wed, 4 Jun 2025 23:18:05 -0400 Subject: [PATCH] Update action.yml --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 76e1ed2..58b369f 100644 --- a/action.yml +++ b/action.yml @@ -23,7 +23,7 @@ runs: - run: echo "Uploading '${{ inputs.filename }} to '${{ vars.PACK_HOST }}/api/upload/${{ gitea.repository }}/${{ inputs.feature }}'" - name: 'Upload file' run: | - curl -v -H 'Authorization: Bearer ${{ secrets.PACK_REPO_SECRET }}' \ + curl -v -H 'Authorization: Bearer ${{ inputs.secret }}' \ -F name='${{ inputs.name }}' -F file=${{ inputs.filename }} \ -F data=@${{ inputs.filename }} \ ${{ vars.PACK_HOST }}/api/upload/${{ gitea.repository }}/${{ inputs.feature }}