From af9e70c515181dcc2c386e393990e6170316c547 Mon Sep 17 00:00:00 2001 From: DuroCodes Date: Mon, 6 May 2024 23:21:41 -0400 Subject: [PATCH] fix: remove sern-handler before git clone --- .github/workflows/github-pages.yml | 2 +- netlify.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/github-pages.yml b/.github/workflows/github-pages.yml index 6d762973f..449ea0d8c 100644 --- a/.github/workflows/github-pages.yml +++ b/.github/workflows/github-pages.yml @@ -18,7 +18,7 @@ jobs: run: bun install - name: Build - run: git clone https://github.com/sern-handler/handler sern-handler && cd sern-handler && bun install && cd .. && bun run build + run: rm -rf sern-handler && git clone https://github.com/sern-handler/handler sern-handler && cd sern-handler && bun install && cd .. && bun run build - name: Deploy to GitHub Pages uses: peaceiris/actions-gh-pages@v3 diff --git a/netlify.toml b/netlify.toml index 5436e5008..2862167d4 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,3 +1,3 @@ [build] publish = "dist" -command = "git clone https://github.com/sern-handler/handler sern-handler && cd sern-handler && bun install && cd .. && bun run build" \ No newline at end of file +command = "rm -rf sern-handler && git clone https://github.com/sern-handler/handler sern-handler && cd sern-handler && bun install && cd .. && bun run build" \ No newline at end of file