Skip to content

Commit

Permalink
Copy additional assets in page-release workflow
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
mdsadiqueinam committed Apr 13, 2024
1 parent 2163c81 commit b4fd225
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/page-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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

0 comments on commit b4fd225

Please sign in to comment.