diff --git a/.github/workflows/deploy_microsite.yml b/.github/workflows/deploy_microsite.yml index 1f246abd26..28444cecfc 100644 --- a/.github/workflows/deploy_microsite.yml +++ b/.github/workflows/deploy_microsite.yml @@ -235,7 +235,7 @@ jobs: run: rm -r docs/reference - name: clear OpenAPI reference - run: find . -name '*.api.mdx' -type f -delete + run: find ./docs -name '*.api.mdx' -type f -delete # Next docs - name: checkout master diff --git a/.github/workflows/verify_microsite.yml b/.github/workflows/verify_microsite.yml index 62233497f6..4985338da3 100644 --- a/.github/workflows/verify_microsite.yml +++ b/.github/workflows/verify_microsite.yml @@ -233,14 +233,6 @@ jobs: name: stable-openapi-docs path: docs - - name: upload working dir - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 - with: - name: docs-status - path: docs/** - if-no-files-found: error - retention-days: 1 - - name: grab lastest releases docs run: | git fetch origin master --depth 1 @@ -253,6 +245,9 @@ jobs: - name: clear API reference run: rm -r docs/reference + - name: clear OpenAPI reference + run: find ./docs -name '*.api.mdx' -type f -delete + - name: build API reference run: yarn build:api-docs @@ -261,8 +256,8 @@ jobs: with: clean: false - # - name: Build MkDocs for TechDocs - # run: mkdocs build --strict + - name: Build MkDocs for TechDocs + run: mkdocs build --strict - name: download next reference uses: actions/download-artifact@95815c38cf2ff2164869cbab79da8d1f422bc89e # v4 @@ -276,14 +271,6 @@ jobs: name: next-openapi-docs path: docs - - name: upload working dir2 - uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 - with: - name: docs-status-2 - path: docs/** - if-no-files-found: error - retention-days: 1 - - name: build microsite run: yarn build working-directory: microsite