Setup auto-publish action

This commit is contained in:
LeRatierBretonnien 2024-12-03 14:30:18 +01:00
parent 5265c013c1
commit 39ce66a26c

View File

@ -27,7 +27,7 @@ jobs:
env: env:
version: ${{steps.get_version.outputs.version-without-v}} version: ${{steps.get_version.outputs.version-without-v}}
url: https://www.uberwald.me/gitea/${{gitea.repository}} url: https://www.uberwald.me/gitea/${{gitea.repository}}
manifest: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download//${{github.event.release.tag_name}}/system.json 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}}/rddsystem.zip download: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/rddsystem.zip
- name: Set up Node.js - name: Set up Node.js
@ -62,11 +62,13 @@ jobs:
system.json system.json
api_key: '${{secrets.ALLOW_PUSH_RELEASE}}' api_key: '${{secrets.ALLOW_PUSH_RELEASE}}'
- name: Publish Module to FoundryVTT Website - name: Publish to Foundry server
uses: https://github.com/Varriount/fvtt-autopublish@latest uses: djlechuck/foundryvtt-publish-package-action@v1
with: with:
username: ${{ secrets.FOUNDRY_ADMIN_USERNAME }} token: ${{ secrets.FOUNDRYVTT_RELEASE_TOKEN }}
password: ${{ secrets.FOUNDRY_ADMIN_PASSWORD }} id: 'foundryvtt-reve-de-dragon'
module-id: foundryvtt-reve-de-dragon version: ${{github.event.release.tag_name}}
manifest-url: https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download//${{github.event.release.tag_name}}/system.json manifest: 'https://www.uberwald.me/gitea/${{gitea.repository}}/releases/download/${{github.event.release.tag_name}}/system.json'
manifest-file: system.json notes: 'https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/branch/v11/changelog.md'
compatibility-minimum: '12'
compatibility-verified: '12'