CI Token doesn't seem to be replaced
This commit is contained in:
@@ -19,6 +19,9 @@ inputs:
|
||||
required: false
|
||||
default: "package"
|
||||
|
||||
env:
|
||||
CI_TOKEN: "${{ secrets.CI_TOKEN }}"
|
||||
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
@@ -31,7 +34,7 @@ runs:
|
||||
PKG_URL="${{ gitea.server_url }}/api/packages/${{ gitea.repository_owner }}/generic/${{ inputs.appName }}/${{ inputs.version }}/${{ inputs.customArchiveName }}.tar.gz"
|
||||
log_info "Sending package in $(yellow)${PKG_URL}"
|
||||
|
||||
curl --user "MilaBot:${{ secrets.CI_TOKEN }}" \
|
||||
curl --user "MilaBot:${CI_TOKEN}" \
|
||||
--upload-file "${{ inputs.customArchiveName }}.tar.gz" \
|
||||
"${PKG_URL}" \
|
||||
--verbose \
|
||||
|
||||
Reference in New Issue
Block a user