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