Skip to content

Commit

Permalink
cdn2
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherBiscardi committed Sep 1, 2024
1 parent 09613b2 commit 1c6456d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
CDN_PATH: https://cdn.christopherbiscardi.com
CDN_PKG_PATH: https://cdn.christopherbiscardi.com/pkg
LEPTOS_HASH_FILES: true
- name: Remove horizontal whitespace from hash.txt
run: tr -d ' ' < crates/www/target/release/hash.txt > crates/www/target/release/hash.txt
- name: cat hash.txt
run: cat crates/www/target/release/hash.txt
- name: Get current date
id: date
run: |
Expand All @@ -54,9 +58,6 @@ 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/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
Expand Down
2 changes: 1 addition & 1 deletion crates/www/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ async fn main() {
// Generate the list of routes in your Leptos App
let routes = generate_route_list(App);

// TODO: remove this
// TODO: remove this soon
dbg!(std::env::var("CDN_PKG_PATH"));
dbg!(std::env::var("CDN_PATH"));

Expand Down

0 comments on commit 1c6456d

Please sign in to comment.