mirror of
https://git.sanhost.net/sanasol/hytale-f2p
synced 2026-02-27 21:31:48 -03:00
fix: add -k to curl uploads to bypass expired IP cert
The Let's Encrypt certificate on the direct IP (208.69.78.130) expired and HTTP-01 challenge renewal is failing due to port 80 being blocked. Adding -k skips cert verification while keeping TLS encryption. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
6
.github/workflows/release.yml
vendored
6
.github/workflows/release.yml
vendored
@@ -55,7 +55,7 @@ jobs:
|
|||||||
for file in dist/*.exe dist/*.exe.blockmap dist/latest.yml; do
|
for file in dist/*.exe dist/*.exe.blockmap dist/latest.yml; do
|
||||||
[ -f "$file" ] || continue
|
[ -f "$file" ] || continue
|
||||||
echo "Uploading $file..."
|
echo "Uploading $file..."
|
||||||
curl -s --max-time 600 -X POST "${FORGEJO_UPLOAD}/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=$(basename $file)" \
|
curl -sk --max-time 600 -X POST "${FORGEJO_UPLOAD}/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=$(basename $file)" \
|
||||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||||
-F "attachment=@${file}" || echo "Failed to upload $file"
|
-F "attachment=@${file}" || echo "Failed to upload $file"
|
||||||
done
|
done
|
||||||
@@ -86,7 +86,7 @@ jobs:
|
|||||||
for file in dist/*.dmg dist/*.zip dist/*.blockmap dist/latest-mac.yml; do
|
for file in dist/*.dmg dist/*.zip dist/*.blockmap dist/latest-mac.yml; do
|
||||||
[ -f "$file" ] || continue
|
[ -f "$file" ] || continue
|
||||||
echo "Uploading $file..."
|
echo "Uploading $file..."
|
||||||
curl -s --max-time 600 -X POST "${FORGEJO_UPLOAD}/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=$(basename $file)" \
|
curl -sk --max-time 600 -X POST "${FORGEJO_UPLOAD}/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=$(basename $file)" \
|
||||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||||
-F "attachment=@${file}" || echo "Failed to upload $file"
|
-F "attachment=@${file}" || echo "Failed to upload $file"
|
||||||
done
|
done
|
||||||
@@ -116,7 +116,7 @@ jobs:
|
|||||||
for file in dist/*.AppImage dist/*.AppImage.blockmap dist/*.deb dist/*.rpm dist/*.pacman dist/latest-linux.yml; do
|
for file in dist/*.AppImage dist/*.AppImage.blockmap dist/*.deb dist/*.rpm dist/*.pacman dist/latest-linux.yml; do
|
||||||
[ -f "$file" ] || continue
|
[ -f "$file" ] || continue
|
||||||
echo "Uploading $file..."
|
echo "Uploading $file..."
|
||||||
curl -s --max-time 600 -X POST "${FORGEJO_UPLOAD}/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=$(basename $file)" \
|
curl -sk --max-time 600 -X POST "${FORGEJO_UPLOAD}/repos/${GITHUB_REPOSITORY}/releases/${RELEASE_ID}/assets?name=$(basename $file)" \
|
||||||
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
-H "Authorization: token ${{ secrets.RELEASE_TOKEN }}" \
|
||||||
-F "attachment=@${file}" || echo "Failed to upload $file"
|
-F "attachment=@${file}" || echo "Failed to upload $file"
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user