diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 2894085a..68f63720 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -30,11 +30,11 @@ jobs: - name: Check artifacts build process run: sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m +publishLocal - name: Check website build process - run: sbt docs/clean; sbt -J-XX:+UseG1GC -J-Xmx6g -J-Xms6g -J-Xss16m docs/buildWebsite + run: sbt docs/clean; sbt docs/buildWebsite publish-docs: name: Publish Docs runs-on: ubuntu-latest - # if: ${{ ((github.event_name == 'release') && (github.event.action == 'published')) || (github.event_name == 'workflow_dispatch') }} + if: ${{ ((github.event_name == 'release') && (github.event.action == 'published')) || (github.event_name == 'workflow_dispatch') }} steps: - name: Git Checkout uses: actions/checkout@v3.3.0 @@ -58,7 +58,7 @@ jobs: generate-readme: name: Generate README runs-on: ubuntu-latest - # if: ${{ (github.event_name == 'push') || ((github.event_name == 'release') && (github.event.action == 'published')) }} + if: ${{ (github.event_name == 'push') || ((github.event_name == 'release') && (github.event.action == 'published')) }} steps: - name: Git Checkout uses: actions/checkout@v3.3.0 diff --git a/build.sbt b/build.sbt index 97fe799c..c2114b5b 100644 --- a/build.sbt +++ b/build.sbt @@ -344,5 +344,5 @@ lazy val docs = project publish / skip := true, mdocVariables ++= Map("ZIO_VERSION" -> zioVersion) ) - .dependsOn(zioDynamodb, zioDynamodbJson) + .dependsOn(zioDynamodb, zioDynamodbCe, zioDynamodbJson) .enablePlugins(WebsitePlugin)