From 25161a9eb1b35c31be744414b399e2478f938b9e Mon Sep 17 00:00:00 2001 From: Kelvin Clement Mwinuka Date: Wed, 11 Sep 2024 00:11:25 +0800 Subject: [PATCH] Renamed test-deploy job to test_docs_deploy and added --prefix flag to build_docs job --- .github/workflows/release.yml | 6 +++--- .github/workflows/test-deploy.yml | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0ae601a0..b10b6886 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -91,13 +91,13 @@ jobs: cache: pnpm cache-dependency-path: ./docs/pnpm-lock.yaml - name: Install dependencies - run: pnpm install + run: pnpm --prefix docs install - name: Build website - run: pnpm run build + run: pnpm --prefix docs run build - name: Upload Build Artifact uses: actions/upload-pages-artifact@v3 with: - path: ./docs/build + path: docs/build publish_docs: name: Publish docusaurus docs to GitHub pages diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml index f20bddc6..36cfe803 100644 --- a/.github/workflows/test-deploy.yml +++ b/.github/workflows/test-deploy.yml @@ -8,8 +8,8 @@ on: # https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on jobs: - test-deploy: - name: Test deployment + test_docs_deploy: + name: Test docusaurus documentation deployment runs-on: ubuntu-latest steps: - uses: actions/checkout@v4