diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 28c8b5c..45da66d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,6 +56,7 @@ jobs: [ -f "$file" ] || continue echo "Uploading $file..." curl -sk -X POST "${FORGEJO_UPLOAD}/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=$(basename $file)" \ + -H "Host: git.sanhost.net" \ -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \ -F "attachment=@${file}" || echo "Failed to upload $file" done @@ -87,6 +88,7 @@ jobs: [ -f "$file" ] || continue echo "Uploading $file..." curl -sk -X POST "${FORGEJO_UPLOAD}/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=$(basename $file)" \ + -H "Host: git.sanhost.net" \ -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \ -F "attachment=@${file}" || echo "Failed to upload $file" done @@ -117,6 +119,7 @@ jobs: [ -f "$file" ] || continue echo "Uploading $file..." curl -sk -X POST "${FORGEJO_UPLOAD}/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=$(basename $file)" \ + -H "Host: git.sanhost.net" \ -H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \ -F "attachment=@${file}" || echo "Failed to upload $file" done