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]
|
branches: [master]
|
||||||
paths:
|
paths:
|
||||||
- .github/workflows/size-cmp.yml
|
- .github/workflows/size-cmp.yml
|
||||||
- ci/collect_sizes.py
|
- "ci/**"
|
||||||
- "packages/**"
|
- "packages/**"
|
||||||
- "examples/**"
|
- "examples/**"
|
||||||
- "Cargo.toml"
|
- "Cargo.toml"
|
||||||
|
|
|
@ -23,6 +23,6 @@ for path in examples/*; do
|
||||||
cd "$path"
|
cd "$path"
|
||||||
dist_dir="$output/$example"
|
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
|
done
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
# yew $ ./ci/write-optimisation-flags.sh
|
# yew $ ./ci/write-optimisation-flags.sh
|
||||||
|
|
||||||
# this goes in [unstable] section
|
# this goes in [unstable] section
|
||||||
cat >> .cargo/config << EOF
|
cat >> .cargo/config.toml << EOF
|
||||||
build-std = ["std", "panic_abort"]
|
build-std = ["std", "panic_abort"]
|
||||||
build-std-features = ["panic_immediate_abort"]
|
build-std-features = ["panic_immediate_abort"]
|
||||||
EOF
|
EOF
|
||||||
|
|
Loading…
Reference in New Issue