Skip to content

Commit

Permalink
Provide non-gzipped wp-cli.phar file with website build (#1406)
Browse files Browse the repository at this point in the history
This PR fixes #1405 by making sure there is a non-gzipped wp-cli.phar
file at the website root. Without this, the wp-cli Blueprint step can
fail to download `wp-cli.phar`.
  • Loading branch information
brandonpayton authored May 15, 2024
1 parent a113920 commit 2f88d2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/playground/website/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"cp -r ./remote/* ./wasm-wordpress-net/",
"cp -r ./website/* ./wasm-wordpress-net/",
"cat ./remote/.htaccess ./website/.htaccess > ./wasm-wordpress-net/.htaccess",
"curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar | gzip -c -9 > wasm-wordpress-net/wp-cli.phar.gz"
"curl https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar > wasm-wordpress-net/wp-cli.phar",
"cat wasm-wordpress-net/wp-cli.phar | gzip -c -9 > wasm-wordpress-net/wp-cli.phar.gz"
],
"cwd": "dist/packages/playground",
"parallel": false
Expand Down

0 comments on commit 2f88d2a

Please sign in to comment.