Skip to content

Commit

Permalink
feat: ci test.
Browse files Browse the repository at this point in the history
Signed-off-by: 秋雨落 <[email protected]>
  • Loading branch information
qyl27 committed Dec 17, 2023
1 parent b1cd331 commit 0a4b045
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/build-documents.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 0a4b045

Please sign in to comment.