mirror of https://github.com/yewstack/yew
Deploy examples again (#2655)
* actually build examples, not just echo * write into the correct file * be more sensitive to ci changes
This commit is contained in:
parent
31594245ef
commit
6373f98cac
|
@ -6,7 +6,7 @@ on:
|
|||
branches: [master]
|
||||
paths:
|
||||
- .github/workflows/size-cmp.yml
|
||||
- ci/collect_sizes.py
|
||||
- "ci/**"
|
||||
- "packages/**"
|
||||
- "examples/**"
|
||||
- "Cargo.toml"
|
||||
|
|
|
@ -23,6 +23,6 @@ for path in examples/*; do
|
|||
cd "$path"
|
||||
dist_dir="$output/$example"
|
||||
|
||||
echo trunk build --release --dist "$dist_dir" --public-url "$PUBLIC_URL_PREFIX$example"
|
||||
trunk build --release --dist "$dist_dir" --public-url "$PUBLIC_URL_PREFIX$example"
|
||||
)
|
||||
done
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# yew $ ./ci/write-optimisation-flags.sh
|
||||
|
||||
# this goes in [unstable] section
|
||||
cat >> .cargo/config << EOF
|
||||
cat >> .cargo/config.toml << EOF
|
||||
build-std = ["std", "panic_abort"]
|
||||
build-std-features = ["panic_immediate_abort"]
|
||||
EOF
|
||||
|
|
Loading…
Reference in New Issue