From ef50ea80541cdf3f2955f3b5771a64b0b68c5936 Mon Sep 17 00:00:00 2001 From: Vivek Kumar Bansal Date: Thu, 26 Oct 2023 14:12:57 +0530 Subject: [PATCH] remove netlify --- bot-test.sh | 12 ------------ netlify.toml | 29 ----------------------------- src/components/Footer.astro | 6 ------ 3 files changed, 47 deletions(-) delete mode 100755 bot-test.sh delete mode 100644 netlify.toml diff --git a/bot-test.sh b/bot-test.sh deleted file mode 100755 index 5e494b2..0000000 --- a/bot-test.sh +++ /dev/null @@ -1,12 +0,0 @@ -#! /bin/bash -COMMIT_HASH=HEAD -COMMIT=$(git show --pretty=short -s $COMMIT_HASH) - -if grep -q "Author: dependabot" <<< "$COMMIT"; then - echo "It's bot" - exit 0 -else - echo "Not a bot" -fi - -exit 1 diff --git a/netlify.toml b/netlify.toml deleted file mode 100644 index e336241..0000000 --- a/netlify.toml +++ /dev/null @@ -1,29 +0,0 @@ -[build] - publish = "dist" - command = "pnpm run build" - -[build.environment] - NODE_VERSION="20" - -[[redirects]] - from = "/sqlite-wasm-demo/*" - to = "https://vkbansal.github.io/sqlite-wasm-demo/:splat" - status = 200 - force = true - -[[redirects]] - from = "/data.js" - to = "https://d.vkbansal.xyz/js/plausible.js" - status = 200 - force = true - -[[redirects]] - from = "/api/event" - to = "https://d.vkbansal.xyz/api/event" - status = 200 - force = true - -[[redirects]] - from = "/react-contextmenu" - to = "https://vkbansal.github.io/react-contextmenu/" - status = 301 diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 160a3b0..e1f2849 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -7,12 +7,6 @@ const footerLinks = SOCIAL_LINKS.filter((l) => l.footer);