Fix Gitea API URL path to include /gitea/ prefix
- 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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user