Skip to content

Commit

Permalink
Use separate ci job for website docs (#506)
Browse files Browse the repository at this point in the history
  • Loading branch information
kyri-petrou authored Aug 25, 2024
1 parent 3a3f1ca commit c2c08a1
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,25 @@ jobs:
run: sbt --client +publishLocal
- name: Check binary compatibility
run: sbt --client "+zioQueryJVM/mimaReportBinaryIssues; +zioQueryJS/mimaReportBinaryIssues"
- name: Check website build process
run: sbt --client "docs/buildWebsite"
build-website:
name: Build Website
runs-on: ubuntu-latest
continue-on-error: true
steps:
- name: Git Checkout
uses: actions/checkout@v4
with:
fetch-depth: '0'
- name: Setup Scala
uses: actions/setup-java@v4
with:
distribution: corretto
java-version: '17'
check-latest: true
- name: Cache Dependencies
uses: coursier/cache-action@v6
- name: Check website build process
run: sbt docs/buildWebsite
lint:
name: Lint
runs-on: ubuntu-latest
Expand Down Expand Up @@ -165,6 +182,7 @@ jobs:
- lint
- test
- build
- build-website
steps:
- name: Report Successful CI
run: echo "ci passed"
Expand Down

0 comments on commit c2c08a1

Please sign in to comment.