diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index b5c6b4d..3a6af12 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -50,3 +50,14 @@ jobs: ./fvtt-cthulhu-eternal.zip system.json api_key: '${{secrets.ALLOW_PUSH_RELEASE}}' + + - name: Publish to Foundry server + uses: djlechuck/foundryvtt-publish-package-action@v1 + with: + token: ${{ secrets.FOUNDRYVTT_RELEASE_TOKEN }} + id: 'fvtt-cthulhu-eternal' + version: ${{github.event.release.tag_name}} + manifest: 'https://www.uberwald.me/gitea/public/fvtt-cthulhu-eternal/releases/download/latest/system.json' + notes: 'https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/fvtt-cthulhu-eternal.zip' + compatibility-minimum: '12' + compatibility-verified: '12' \ No newline at end of file