Skip to content

Commit

Permalink
Add workflow step to publish release to Foundry
Browse files Browse the repository at this point in the history
GitHub action: https://github.com/cs96and/FoundryVTT-release-package
This will avoid having to manually add new releases to the package page:
https://foundryvtt.com/packages/lame-messenger
  • Loading branch information
lucasmetzen committed Dec 26, 2024
1 parent de74e85 commit 756f360
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,13 @@ jobs:
artifacts: './module.json, ./module.zip'
tag: ${{ github.event.release.tag_name }}
body: ${{ github.event.release.body }}

# Publish the release to the Foundry VTT package page and trigger Discord bot to announce it in #package-release.
- name: Publish Module to Foundry VTT Website
id: publish-to-foundry-website
uses: cs96and/FoundryVTT-release-package@v1
with:
package-token: ${{ secrets.PACKAGE_TOKEN }}
manifest-url: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.json
# TODO: Remove dry-run setting after having confirmed it works the first time:
dry-run: true

0 comments on commit 756f360

Please sign in to comment.