diff --git a/.gitea/publish.sh b/.gitea/publish.sh index 63efade..9966254 100755 --- a/.gitea/publish.sh +++ b/.gitea/publish.sh @@ -7,14 +7,8 @@ VERSION=$(date +%Y-%m-%dt%H.%M.%S) for path in "$@"; do fn=$(basename "$path") - echo curl \ - -v \ - --user "$GITHUB_ACTOR:$GITHUB_TOKEN" \ - --upload-file "$path" \ - $GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn curl \ - -v \ - --user "$GITHUB_ACTOR:$ACTIONS_RUNTIME_TOKEN" \ + --user "$GITHUB_ACTOR:$PACKAGE_API_TOKEN" \ --upload-file "$path" \ $GITHUB_SERVER_URL/api/packages/$GITHUB_ACTOR/generic/$PACKAGE/$VERSION/$fn done