From 09613b2708b5d4f3a862d81a3aac2d6092e2d6af Mon Sep 17 00:00:00 2001 From: Christopher Biscardi Date: Sat, 31 Aug 2024 20:20:41 -0700 Subject: [PATCH] cdn? --- .github/workflows/release.yml | 3 +-- crates/www/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 123292e..60e7d93 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -56,8 +56,7 @@ jobs: tar -czvf static-assets.tar.gz target/site - name: Remove horizontal whitespace from hash.txt run: | - ls - tr -d ' ' < crates/www/target/release/hash.txt > crates/www/target/release/hash.txt + tr -d ' ' < crates/www/target/release/hash.txt > crates/www/target/release/hash.txt && cat crates/www/target/release/hash.txt - name: Publish GitHub Release id: gh-release uses: softprops/action-gh-release@v2 diff --git a/crates/www/src/main.rs b/crates/www/src/main.rs index ef8ec1f..a34c294 100644 --- a/crates/www/src/main.rs +++ b/crates/www/src/main.rs @@ -12,7 +12,7 @@ async fn main() { // Generate the list of routes in your Leptos App let routes = generate_route_list(App); - // TODO: remove + // TODO: remove this dbg!(std::env::var("CDN_PKG_PATH")); dbg!(std::env::var("CDN_PATH"));