Deploy update

This commit is contained in:
WBHarry 2025-06-22 14:39:46 +02:00
parent 475afb48fb
commit 8857e63006
2 changed files with 5 additions and 1 deletions

View file

@ -16,6 +16,9 @@ jobs:
- name: Build Packs
run: npm run pullYMLtoLDB
- name: Build daggerheart.js
run: npm run rollup
# get part of the tag after the `v`
- name: Extract tag version number
id: get_version
@ -34,7 +37,7 @@ jobs:
download: https://github.com/${{github.repository}}/releases/download/${{github.event.release.tag_name}}/system.zip
# Create a zip file with all files required by the module to add to the release
- run: zip -r ./system.zip system.json README.md LICENSE daggerheart.mjs templates/ styles/daggerheart.css packs/ lang/
- run: zip -r ./system.zip system.json README.md LICENSE build/daggerheart.js templates/ styles/daggerheart.css packs/ lang/
# Create a release for this specific version
- name: Update Release with Files

View file

@ -8,6 +8,7 @@
"scripts": {
"start": "concurrently \"rollup -c --watch\" \"node ../../../../FoundryDev/main.js --dataPath=../../../ --noupnp\" \"gulp\"",
"start-test": "node ./resources/app/main.js --dataPath=./ && rollup -c --watch && gulp",
"rollup": "rollup -c",
"pushLDBtoYML": "node ./tools/pushLDBtoYML.mjs",
"pullYMLtoLDB": "node ./tools/pullYMLtoLDB.mjs",
"createSymlink": "node ./tools/create-symlink.mjs"