diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 3718f2b..96db92d 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -23,8 +23,17 @@ jobs: - name: Check out the repo uses: actions/checkout@v5 - - name: Publish Github Pages - uses: elastic/docs-builder/actions/publish@main - id: deployment + - name: Build documentation + uses: elastic/docs-builder@main + + - name: Setup Pages + uses: actions/configure-pages@v6.0.0 + + - name: Upload artifact + uses: actions/upload-pages-artifact@v5.0.0 with: - continue-on-error: "true" + path: .artifacts/docs/html + + - name: Deploy artifact + id: deployment + uses: actions/deploy-pages@v4