From 4970a146132cb7472142fc56f76e0eb020284a3e Mon Sep 17 00:00:00 2001 From: Andrew Krigline Date: Thu, 10 Jun 2021 09:42:23 -0400 Subject: [PATCH] add autopublish action --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ed67e64..17b41e3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -43,3 +43,12 @@ jobs: artifacts: './module.json, ./module.zip' tag: ${{ github.event.release.tag_name }} body: ${{ github.event.release.body }} + + - name: FoundryVTT AutoPublish + uses: Varriount/fvtt-autopublish@v1.0.2a + with: + username: ${{ secrets.FOUNDRY_ADMIN_USER }} + password: ${{ secrets.FOUNDRY_ADMIN_PW }} + module-id: 26 + manifest-url: https://github.com/${{ github.repository }}/releases/download/${{ github.event.release.tag_name }}/module.json + manifest-file: ./module.json