From 29b555bf7c9e888a6030e6123df38d91f4cc5e22 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Sat, 29 May 2021 15:50:31 +0530 Subject: [PATCH] Clean and deploy --- .github/workflows/deploy.yml | 1 + src/routes/index.svelte | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 4e4d1667..d9a32d23 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -18,6 +18,7 @@ jobs: run: | npm i -g yarn export CI=true + rm -rf docs/_app yarn install yarn run lint version=$(yarn version --patch --no-git-tag-version | grep "New version" | cut -d':' -f 2) diff --git a/src/routes/index.svelte b/src/routes/index.svelte index ca9daa13..06ada44a 100644 --- a/src/routes/index.svelte +++ b/src/routes/index.svelte @@ -5,6 +5,8 @@ onMount(async () => { // Handle old live editor links and redirect to new version + console.log(base); + debugger; const hash = window.location.hash.split('/'); let newURL = 'edit'; if (hash.length > 2) {