From 1896710f89dd42fa663d38d81472549107f82ce5 Mon Sep 17 00:00:00 2001 From: Christopher Biscardi Date: Sat, 31 Aug 2024 19:57:52 -0700 Subject: [PATCH] workflow changes --- .github/workflows/release.yml | 2 ++ crates/www/src/main.rs | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 61bd4c6..0928718 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,6 +54,8 @@ jobs: - name: Tar static files run: | tar -czvf static-assets.tar.gz target/site + - name: Remove horizontal whitespace from hash.txt + run: tr -d ' ' < crates/www/target/debug/hash.txt > crates/www/target/debug/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 d6bfe8a..1fc52bc 100644 --- a/crates/www/src/main.rs +++ b/crates/www/src/main.rs @@ -13,6 +13,9 @@ async fn main() { // Generate the list of routes in your Leptos App let routes = generate_route_list(App); + dbg!(std::env::var("CDN_PKG_PATH")); + dbg!(std::env::var("CDN_PATH")); + let app = Router::new() .leptos_routes(&leptos_options, routes, { let leptos_options = leptos_options.clone();