generated from League-of-Foundry-Developers/FoundryVTT-Module-Template
-
-
Notifications
You must be signed in to change notification settings - Fork 4
13 lines (13 loc) · 866 Bytes
/
fvtt-publish.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
name: Publish new version to foundry
on:
release:
types: [released]
jobs:
refresh-feed:
runs-on: ubuntu-latest
steps:
- name: Run fvtt apu
uses: JamesIves/fetch-api-data-action@v2
with:
endpoint: https://api.foundryvtt.com/_api/packages/release_version/
configuration: '{ "method": "POST", "headers": { "Content-Type": "application/json", "Authorization": "${{ secrets.FVTT_API_TOKEN }}" }, "body": { "id": "pf2e-rpg-numbers", "dry-run": false, "release": { "version": "${{github.event.release.tag_name}}", "manifest": "https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.json", "notes": "https://github.com/${{github.repository}}/releases/tag/${{github.event.release.tag_name}}", "compatibility": { "minimum": "11", "verified": "12", "maximum": "" } } } }'