diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index ca9d16d..86a6b4f 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -36,9 +36,8 @@ jobs: SERVER_URL: ${{ gitea.server_url }} REPOSITORY_OWNER: ${{ gitea.repository_owner }} VERSION: ${{ gitea.ref_name }} - ACTOR: ${{ gitea.actor }} run: | curl --fail-with-body \ - --user "${ACTOR}:${GITEA_TOKEN}" \ + -H "Authorization: token ${GITEA_TOKEN}" \ --upload-file dist/samba-configer \ "${SERVER_URL}/api/packages/${REPOSITORY_OWNER}/generic/samba-configer/${VERSION}/samba-configer-linux-amd64"