Skip to content

Commit

Permalink
Workflow changes for auto-release to foundry
Browse files Browse the repository at this point in the history
  • Loading branch information
Eligarf committed Oct 29, 2024
1 parent 42d11f7 commit 3bcd7a9
Show file tree
Hide file tree
Showing 3 changed files with 21 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
4 changes: 4 additions & 0 deletions ChangeLog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# v1.13.2
* Update rage hint in pl.json (thanks Lioheart)
* Update github scripts to automate releases to foundry

# v1.13.1
* Added a missing await

Expand Down

0 comments on commit 3bcd7a9

Please sign in to comment.