Skip to content

Commit

Permalink
try netlify alias
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristopherBiscardi committed Sep 1, 2024
1 parent 6eba5c4 commit 1fe0295
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ jobs:
uses: netlify/actions/cli@master
with:
# args: deploy --dir=target/site --prod
# temporarily use preview deploy
args: deploy --dir=target/site
# temporarily use preview deploy and alias
args: deploy --dir=target/site --alias wasm-cdn
env:
NETLIFY_SITE_ID: b635e6d9-900c-4c21-993d-11191073ff32
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ jobs:
- run: cargo leptos build --release --project www
env:
CDN_PATH: https://cdn.christopherbiscardi.com
CDN_PKG_PATH: https://cdn.christopherbiscardi.com/pkg
LEPTOS_HASH_FILES: true
- uses: hustcer/setup-nu@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions crates/www/src/routes/index.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ pub fn IndexPage() -> impl IntoView {
// 38.0 30.0 92.0 #624DEA
border_gradient: Some("conic-gradient( from calc(180deg + var(--angle)) at 50% 70%, #624DEA, #ded9fb)"),
center_title: true,
image_header: Some("/img/wasm-heading.avif"),
image_header: Some("https://wasm-cdn--solicitor-seal-13462.netlify.app/img/wasm-heading.avif"),
..Default::default()
},
BentoBoxContent {
Expand Down Expand Up @@ -253,7 +253,7 @@ pub fn Hero() -> impl IntoView {
<img
style="height: 4rem"
class="sm:ml-4"
src="/img/party-corgi.gif"
src="https://wasm-cdn--solicitor-seal-13462.netlify.app/img/party-corgi.gif"
alt="party corgi rainbow animated"
/>
</h1>
Expand Down

0 comments on commit 1fe0295

Please sign in to comment.