diff --git a/.github/workflows/webstie-alt-env.yml b/.github/workflows/webstie-alt-env.yml index 378be1a248..fac5d10734 100644 --- a/.github/workflows/webstie-alt-env.yml +++ b/.github/workflows/webstie-alt-env.yml @@ -1,4 +1,4 @@ -name: Build and Deploy Starknet Website (Altternative environment) +name: Build and Deploy Starknet Website (Alternative environment) on: workflow_dispatch: @@ -8,7 +8,7 @@ jobs: name: Build and Deploy environment: name: Starknet Website ${{ github.ref_name }} - url: https://${{ env.GITHUB_REF_SLUG_URL }}.starknet-websites.pages.dev + url: https://${{ env.GITHUB_REF_SLUG_URL }}.alt-starknet-website.pages.dev runs-on: ubuntu-22.04 steps: - name: Checkout @@ -61,7 +61,7 @@ jobs: if [ "${{ env.GITHUB_REF_SLUG_URL }}" = "production" ]; then echo "VITE_SITE_URL=https://www.starknet.io" >> $GITHUB_ENV else - echo "VITE_SITE_URL=https://${{ env.GITHUB_REF_SLUG_URL }}.starknet-websites.pages.dev" >> $GITHUB_ENV + echo "VITE_SITE_URL=https://${{ env.GITHUB_REF_SLUG_URL }}.alt-starknet-website.pages.dev" >> $GITHUB_ENV fi - name: Build project @@ -82,7 +82,7 @@ jobs: with: apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN_ALT }} accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID_ALT }} - projectName: starknet-websites + projectName: alt-starknet-website directory: dist/client workingDirectory: workspaces/website wranglerVersion: '3' diff --git a/workspaces/website/src/blocks/HomepageHero.tsx b/workspaces/website/src/blocks/HomepageHero.tsx index a513ae9eea..661f8355b8 100644 --- a/workspaces/website/src/blocks/HomepageHero.tsx +++ b/workspaces/website/src/blocks/HomepageHero.tsx @@ -9,7 +9,6 @@ type Props = { }; }; import { Intro } from "./Intro"; -import { navigate } from "vite-plugin-ssr/client/router"; export const HomepageHero = ({ seo }: Props) => { return ( @@ -117,7 +116,7 @@ export const HomepageHero = ({ seo }: Props) => { zIndex={4} >