Skip to content

Commit

Permalink
Auto-release action
Browse files Browse the repository at this point in the history
  • Loading branch information
Eryx5502 committed May 7, 2024
1 parent 0f88725 commit 32e4247
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Release to FoundryVTT

on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Publish the release to FoundryVTT's package repository.
- name: Publish Module to FoundryVTT Website
id: publish_to_foundry_website
if: ${{ !github.event.release.unpublished && !github.event.release.prerelease }}
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 }}/system.json
dry-run: 1

0 comments on commit 32e4247

Please sign in to comment.