From 8857e63006e16a7fc496d4788dc070ed96c3c69e Mon Sep 17 00:00:00 2001 From: WBHarry Date: Sun, 22 Jun 2025 14:39:46 +0200 Subject: [PATCH] Deploy update --- .github/workflows/deploy.yml | 5 ++++- package.json | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index f96830b8..656127ab 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -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 diff --git a/package.json b/package.json index f8be74b9..590c85ec 100644 --- a/package.json +++ b/package.json @@ -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"