diff --git a/.github/workflows/docs-test-build.yaml b/.github/workflows/docs-test-build.yaml index a70d649bea..394ea34ac3 100644 --- a/.github/workflows/docs-test-build.yaml +++ b/.github/workflows/docs-test-build.yaml @@ -21,5 +21,6 @@ jobs: - name: Install dependencies run: npm ci - name: Build website - run: npm run build:docs + working-directory: ./packages/testing-docs + run: npm run build diff --git a/.github/workflows/docs-test-deploy.yaml b/.github/workflows/docs-test-deploy.yaml index 1e229a15de..b2ce0a9d38 100644 --- a/.github/workflows/docs-test-deploy.yaml +++ b/.github/workflows/docs-test-deploy.yaml @@ -29,10 +29,11 @@ jobs: with: ssh-private-key: ${{ secrets.BE_TEST_DOCS_DEPLOY_KEY }} - name: Deploy to GitHub Pages + working-directory: ./packages/testing-docs env: USE_SSH: true run: | git config --global user.email "actions@github.com" git config --global user.name "gh-actions" npm ci - npm run deploy:docs + npm run deploy diff --git a/package.json b/package.json index 1f5470cea5..634dfc6fd9 100644 --- a/package.json +++ b/package.json @@ -18,9 +18,6 @@ "test:e2e": "lerna run test:e2e", "dev": "lerna run dev", "build": "lerna run build", - "build:docs": "lerna run build:docs", - "start:docs": "lerna run start:docs", - "deploy:docs": "lerna run deploy:docs", "start": "lerna run start", "serve": "lerna run serve", "db:create": "lerna run db:create", diff --git a/packages/testing-docs/package.json b/packages/testing-docs/package.json index fbe729d3e1..2b50200bec 100644 --- a/packages/testing-docs/package.json +++ b/packages/testing-docs/package.json @@ -4,12 +4,12 @@ "private": true, "scripts": { "docusaurus": "docusaurus", - "start:docs": "docusaurus start", - "build:docs": "docusaurus build", - "swizzle:docs": "docusaurus swizzle", - "deploy:docs": "docusaurus deploy", - "clear:docs": "docusaurus clear", - "serve:docs": "docusaurus serve", + "start": "docusaurus start", + "build": "docusaurus build", + "swizzle": "docusaurus swizzle", + "deploy": "docusaurus deploy", + "clear": "docusaurus clear", + "serve": "docusaurus serve", "write-translations": "docusaurus write-translations", "write-heading-ids": "docusaurus write-heading-ids", "typecheck": "tsc"