Skip to content

Commit

Permalink
Create publish-to-fvtt.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ChasarooniZ authored Jul 6, 2024
1 parent 2d088c0 commit 62fa4db
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/publish-to-fvtt.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Publish new version to foyndry
on: [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": "GET", "headers": { "Authorization": "${{ secrets.FVTT_API_TOKEN }}" } "body": { "id": "pf2e-reactive-token-ring", "dry-run": true, "release": { "version": "${{github.event.release.tag_name}}", "manifest": "https://github.com/${{github.repository}}/releases/${{github.event.release.tag_name}}/download/module.json", "notes": "https://github.com/${{github.repository}}/releases/tag/${{github.event.release.tag_name}}" "compatibility": { "minimum": "12", "verified": "12", "maximum": "" } } } }'

0 comments on commit 62fa4db

Please sign in to comment.