Skip to content

Commit

Permalink
Another attempt at foundry autopublish
Browse files Browse the repository at this point in the history
  • Loading branch information
jonepatr committed Jan 3, 2022
1 parent 6b1d1a8 commit 7fe8de9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,13 +77,16 @@ jobs:
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
run: bash src/scripts/discord.sh $WEBHOOK_URL
shell: bash


- name: Get tag
run: echo "TWODSIX_VERSION=$(git describe --tags --abbrev=0)" >> $GITHUB_ENV

# Publish the release to FoundryVTT's package repository
- name: Publish to Foundry Admin
uses: Varriount/fvtt-autopublish@v1.0.6
with:
username: ${{ secrets.FOUNDRY_ADMIN_USERNAME }}
password: ${{ secrets.FOUNDRY_ADMIN_PASSWORD }}
module-id: 468
manifest-url: https://github.com/xdy/twodsix-foundryvtt/releases/download/$(git describe --tags --abbrev=0)/system.json
manifest-url: https://github.com/xdy/twodsix-foundryvtt/releases/download/${{ env.TWODSIX_VERSION }}/system.json
manifest-file: static/system.json

0 comments on commit 7fe8de9

Please sign in to comment.