diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 12b7d34..800418c 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -27,15 +27,15 @@ jobs: env: version: ${{steps.get_version.outputs.version-without-v}} url: https://www.uberwald.me/gitea/${{gitea.repository}} - manifest: https://www.uberwald.me/gitea/public/${{gitea.repository}}/releases/download/${{steps.get_version.outputs.version-without-v}}/module.json - download: https://www.uberwald.me/gitea/public/${{gitea.repository}}/releases/download/${{steps.get_version.outputs.version-without-v}}/system.zip + manifest: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/system.json + download: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/fvtt-cthulhu-eternal.zip # Create a zip file with all files required by the module to add to the release - run: | apt update -y apt install -y zip - - run: zip -r ./system.zip system.json README.md LICENSE assets/ css/ fonts/ lang/ module/ packs-system/ templates/ cthulhu-eternal.mjs + - run: zip -r ./fvtt-cthulhu-eternal.zip system.json README.md LICENSE assets/ css/ fonts/ lang/ module/ packs-system/ templates/ cthulhu-eternal.mjs - name: setup go uses: https://github.com/actions/setup-go@v4 @@ -47,6 +47,6 @@ jobs: uses: https://gitea.com/actions/release-action@main with: files: |- - ./system.zip + ./fvtt-cthulhu-eternal.zip system.json api_key: '${{secrets.ALLOW_PUSH_RELEASE}}'