From 745fd1adbc3bcc93304fa3ce114727efabf143a9 Mon Sep 17 00:00:00 2001 From: Shubham Sharma - s0s0p6u Date: Fri, 10 Jan 2025 14:19:05 +0530 Subject: [PATCH] fix: ci fix --- .github/workflows/docs.yml | 9 ++++++++- docusaurus/package.json | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index fc7ff3b50..6fb18670b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -34,5 +34,12 @@ jobs: working-directory: ./docusaurus run: | pnpm install --force - pnpm deploy + pnpm build + + - name: Deploy Docs + working-directory: ./docusaurus + run: | + touch build/.nojekyll + rm -rf ../docs + cp -r build ../docs diff --git a/docusaurus/package.json b/docusaurus/package.json index 70bbca15e..d108f9438 100644 --- a/docusaurus/package.json +++ b/docusaurus/package.json @@ -7,7 +7,7 @@ "build": "docusaurus build", "start": "pnpm build && docusaurus start --port 4000", "swizzle": "docusaurus swizzle", - "deploy": "docusaurus build && touch build/.nojekyll && rm -rf ../docs && cp -r build ../docs" + "deploy": "touch build/.nojekyll && rm -rf ../docs && cp -r build ../docs" }, "bugs": { "url": "https://github.com/electrode-io/electrode/issues"