Skip to content

Commit

Permalink
Automate releases to foundry
Browse files Browse the repository at this point in the history
  • Loading branch information
Eligarf committed Oct 29, 2024
1 parent edf91a2 commit 29ec50e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Module Builder
name: Publish

on:
release:
Expand Down
16 changes: 16 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Release to Foundry

on:
release:
types: [released]

jobs:
publish:
name: Publish Release to Foundry
runs-on: ubuntu-latest
steps:
- name: Publish Module to FoundryVTT Website
uses: cs96and/FoundryVTT-release-package@v1
with:
package-token: ${{ secrets.FOUNDRY_PACKAGE_TOKEN }}
manifest-url: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.json

0 comments on commit 29ec50e

Please sign in to comment.