diff --git a/.github/workflows/update_examples.yml b/.github/workflows/update_examples.yml index a87325190..1164cfb72 100644 --- a/.github/workflows/update_examples.yml +++ b/.github/workflows/update_examples.yml @@ -75,11 +75,11 @@ jobs: make PLATFORM=PLATFORM_WEB for category in core shapes textures models shaders text audio; do cd $category - target_dir="${{ github.workspace }}/../raylib.com/examples/$category/" - find . -type f -name "*.wasm" -exec cp {} "$target_dir" + - find . -type f -name "*.html" -exec cp {} "$target_dir" + - find . -type f -name "*.js" -exec cp {} "$target_dir" + - find . -type f -name "*.data" -exec cp {} "$target_dir" + + target_dir="${{ github.workspace }}/../raylib.com/examples/$category/" + find . -type f -name "*.wasm" -exec cp {} "$target_dir" + + find . -type f -name "*.html" -exec cp {} "$target_dir" + + find . -type f -name "*.js" -exec cp {} "$target_dir" + + find . -type f -name "*.data" -exec cp {} "$target_dir" + cd .. done - name: Push changes to raylib.com repo