Skip to content

Commit

Permalink
Autopublish
Browse files Browse the repository at this point in the history
  • Loading branch information
Haxxer committed Dec 14, 2023
1 parent e759bb3 commit d0811fd
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,3 +93,14 @@ jobs:
git checkout stash module.json
git commit -m "${{github.event.release.tag_name}} manifest"
git push -f
- name: Publish to Foundry Admin
if: "!github.event.release.prerelease"
run: npx @ghost-fvtt/foundry-publish
env:
FVTT_MANIFEST_PATH: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/module.json
FVTT_PACKAGE_ID: ${{ secrets.FVTT_PACKAGE_ID }}
FVTT_USERNAME: ${{ secrets.FVTT_USERNAME }}
FVTT_PASSWORD: ${{ secrets.FVTT_PASSWORD }}
FVTT_CHANGELOG_URL: ${{ github.event.release.html_url }}
FVTT_USE_NEW_PACKAGE_ADMINISTRATION_INTERFACE: true
6 changes: 3 additions & 3 deletions module.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"library": "false",
"minimumCoreVersion": "11",
"compatibility": {
"minimum": "10",
"minimum": "11",
"verified": "11",
"maximum": "11"
},
Expand All @@ -31,8 +31,8 @@
"id": "item-piles",
"type": "module",
"compatibility": {
"minimum": "2.8.6",
"verified": "2.8.6"
"minimum": "2.8.7",
"verified": "2.8.7"
}
},
{
Expand Down

0 comments on commit d0811fd

Please sign in to comment.