From b4fd225151f91315df8ef546ed85d3377a5c6ce0 Mon Sep 17 00:00:00 2001 From: Md Sadique Inam Date: Sat, 13 Apr 2024 21:41:34 +0530 Subject: [PATCH] Copy additional assets in page-release workflow Added a command to page-release Github workflow to copy resources from the commonCompose directory into the /wasmJs/values directory. This ensures that any necessary assets from this directory are included with the Wasm build when it is released. --- .github/workflows/page-release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/page-release.yml b/.github/workflows/page-release.yml index 3cffac0..4571e51 100644 --- a/.github/workflows/page-release.yml +++ b/.github/workflows/page-release.yml @@ -21,6 +21,7 @@ jobs: # Assuming launchpad/build/dist/wasmJs/productionExecutable exists after build mkdir -p ./wasmJs # Create a folder to store extracted assets locally cp -r launchpad/build/dist/wasmJs/productionExecutable/* ./wasmJs/ + cp -r commonCompose/build/processedResources/wasmJs/values/* ./wasmJs/values/ - name: Checkout Destination Repo (shallow clone) uses: actions/checkout@v4 # Checkout the destination repository (shallow clone) @@ -38,5 +39,5 @@ jobs: mv ../wasmJs/* ./docs/ # Move extracted assets to /docs folder git add docs/ # Add the /docs folder to Git git commit -m "Update Wasm assets from build" - git push # Push the new branch + git push