From a03cee5d6088cbb2b834102a4d7e6c3c2e9c9fa3 Mon Sep 17 00:00:00 2001 From: LeRatierBretonnien Date: Tue, 3 Dec 2024 14:12:19 +0100 Subject: [PATCH] Setup auto-publish action --- .gitea/workflows/release.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) 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