CI Token doesn't seem to be replaced
This commit is contained in:
@@ -19,6 +19,9 @@ inputs:
|
|||||||
required: false
|
required: false
|
||||||
default: "package"
|
default: "package"
|
||||||
|
|
||||||
|
env:
|
||||||
|
CI_TOKEN: "${{ secrets.CI_TOKEN }}"
|
||||||
|
|
||||||
runs:
|
runs:
|
||||||
using: composite
|
using: composite
|
||||||
steps:
|
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"
|
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}"
|
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" \
|
--upload-file "${{ inputs.customArchiveName }}.tar.gz" \
|
||||||
"${PKG_URL}" \
|
"${PKG_URL}" \
|
||||||
--verbose \
|
--verbose \
|
||||||
|
|||||||
Reference in New Issue
Block a user