Fix Gitea API URL path to include /gitea/ prefix
CI / ci (push) Successful in 44s
Release Creation / build (release) Successful in 49s

- Updated asset upload URLs from /api/v1/ to /gitea/api/v1/
- This matches the Gitea instance's base path

Generated by Mistral Vibe.
Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
This commit is contained in:
2026-05-25 15:33:08 +02:00
parent 97ff77cbce
commit a1f54d010f
+2 -2
View File
@@ -55,14 +55,14 @@ jobs:
-H "Content-Type: application/octet-stream" \ -H "Content-Type: application/octet-stream" \
-H "Authorization: token ${{secrets.RELEASE_SCRYING_POOL}}" \ -H "Authorization: token ${{secrets.RELEASE_SCRYING_POOL}}" \
--data-binary @./module.zip \ --data-binary @./module.zip \
"https://www.uberwald.me/api/v1/repos/${{gitea.repository}}/releases/${{gitea.event.release.id}}/assets?name=module.zip" "https://www.uberwald.me/gitea/api/v1/repos/${{gitea.repository}}/releases/${{gitea.event.release.id}}/assets?name=module.zip"
# Upload module.json # Upload module.json
curl -s -X POST \ curl -s -X POST \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-H "Authorization: token ${{secrets.RELEASE_SCRYING_POOL}}" \ -H "Authorization: token ${{secrets.RELEASE_SCRYING_POOL}}" \
--data-binary @./module.json \ --data-binary @./module.json \
"https://www.uberwald.me/api/v1/repos/${{gitea.repository}}/releases/${{gitea.event.release.id}}/assets?name=module.json" "https://www.uberwald.me/gitea/api/v1/repos/${{gitea.repository}}/releases/${{gitea.event.release.id}}/assets?name=module.json"
# - name: Publish to Foundry server # - name: Publish to Foundry server
# uses: https://github.com/djlechuck/foundryvtt-publish-package-action@v1 # uses: https://github.com/djlechuck/foundryvtt-publish-package-action@v1