Skip to content

Commit

Permalink
ci: try to fix sed?
Browse files Browse the repository at this point in the history
  • Loading branch information
julie-dujardin committed Aug 3, 2024
1 parent 9e06375 commit ab4da85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ jobs:
rm wasm32/index.side.wasm
# ugly hack to force godot to pull the engine from another domain
build_type=${{ matrix.build_type }}
sed -i "s/{{{DIR}}}/${build_type}_${GODOT_VERSION}_${engine_hash[1]}/" deploy/templates/readAsyncNew
sed -i -e "s/{{{DIR}}}/${build_type}_${GODOT_VERSION}_${engine_hash[1]}/g" deploy/templates/readAsyncNew
sed -e '/readAsync = (url, onload, onerror) => {/{r readAsyncNew' -e 'd;}' wasm32/index.js > _index.js
mv _index.js wasm32/index.js
- name: Publish to Cloudflare Pages
Expand Down

0 comments on commit ab4da85

Please sign in to comment.