diff --git a/.gitea/workflows/release.yaml b/.gitea/workflows/release.yaml index 4ca956af..da39d9ba 100644 --- a/.gitea/workflows/release.yaml +++ b/.gitea/workflows/release.yaml @@ -61,3 +61,12 @@ jobs: ./rddsystem.zip system.json api_key: '${{secrets.ALLOW_PUSH_RELEASE}}' + + - name: Publish Module to FoundryVTT Website + uses: https://github.com/Varriount/fvtt-autopublish@latest + with: + username: ${{ secrets.FOUNDRY_ADMIN_USERNAME }} + password: ${{ secrets.FOUNDRY_ADMIN_PASSWORD }} + module-id: foundryvtt-reve-de-dragon + manifest-url: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download//${{github.event.release.tag_name}}/system.json + manifest-file: system.json \ No newline at end of file