Fixed secret from FORGEJO_TOKEN to ACCESS_TOKEN
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Failing after 6m34s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 7s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 1m40s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
Some checks failed
Comprehensive CI/CD Pipeline / Build and Test (push) Failing after 6m34s
Comprehensive CI/CD Pipeline / Security Audit (push) Failing after 7s
Comprehensive CI/CD Pipeline / Package Validation (push) Successful in 1m40s
Comprehensive CI/CD Pipeline / Status Report (push) Has been skipped
This commit is contained in:
parent
1350507931
commit
6b52f5bdef
1 changed files with 4 additions and 4 deletions
|
|
@ -441,10 +441,10 @@ jobs:
|
|||
|
||||
# Upload to Forgejo Debian Registry
|
||||
# Note: This requires authentication - you'll need to set up secrets
|
||||
if [ -n "$FORGEJO_TOKEN" ]; then
|
||||
if [ -n "$ACCESS_TOKEN " ]; then
|
||||
echo " 🔐 Using authentication token..."
|
||||
UPLOAD_RESULT=$(curl -s -w "%{http_code}" \
|
||||
--user "${FORGEJO_OWNER}:${FORGEJO_TOKEN}" \
|
||||
--user "${FORGEJO_OWNER}:${ACCESS_TOKEN }" \
|
||||
--upload-file "$deb_file" \
|
||||
"$UPLOAD_URL" 2>/dev/null)
|
||||
|
||||
|
|
@ -469,8 +469,8 @@ jobs:
|
|||
;;
|
||||
esac
|
||||
else
|
||||
echo " ⚠️ No FORGEJO_TOKEN set - skipping upload"
|
||||
echo " 💡 Set FORGEJO_TOKEN secret to enable automatic publishing"
|
||||
echo " ⚠️ No ACCESS_TOKEN set - skipping upload"
|
||||
echo " 💡 Set ACCESS_TOKEN secret to enable automatic publishing"
|
||||
echo " 📋 Manual upload command:"
|
||||
echo " curl --user your_username:your_token \\"
|
||||
echo " --upload-file $deb_file \\"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue