diff --git a/.github/workflows/build-documents.yml b/.github/workflows/build-documents.yml index 8630038..8cfa5ed 100644 --- a/.github/workflows/build-documents.yml +++ b/.github/workflows/build-documents.yml @@ -37,12 +37,28 @@ jobs: artifacts/${{ env.ARTIFACT }} retention-days: 7 + test: + needs: build + runs-on: ubuntu-latest + + steps: + - name: Download artifacts + uses: actions/download-artifact@v1 + with: + name: docs + path: artifacts + + - name: Test documentation + uses: JetBrains/writerside-checker-action@v1 + with: + instance: ${{ env.INSTANCE }} + deploy: environment: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - needs: build + needs: test runs-on: ubuntu-latest