From 68a3f693203dfc86c2a11b81ba437165271b17b7 Mon Sep 17 00:00:00 2001 From: Oguzhan Unlu Date: Tue, 10 Oct 2023 15:08:08 +0300 Subject: [PATCH] fix --- .github/workflows/release.yml | 38 ++++++++++++++++++----------------- project/BuildSettings.scala | 2 +- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 55a5cea..4676bcd 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,23 +6,23 @@ on: - '*' jobs: - release: - strategy: - matrix: - module: [ "streams-core", "kinesis", "kafka", "pubsub", "loaders-common"] - - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: coursier/cache-action@v6 - - - name: Deploy ${{ matrix.module }} to Maven Central - run: sbt "project ${{ matrix.module }}" ci-release - env: - PGP_PASSPHRASE: ${{ secrets.SONA_PGP_PASSPHRASE }} - PGP_SECRET: ${{ secrets.SONA_PGP_SECRET }} - SONATYPE_USERNAME: ${{ secrets.SONA_USER }} - SONATYPE_PASSWORD: ${{ secrets.SONA_PASS }} +# release: +# strategy: +# matrix: +# module: [ "streams-core", "kinesis", "kafka", "pubsub", "loaders-common"] +# +# runs-on: ubuntu-latest +# steps: +# - uses: actions/checkout@v4 +# - uses: coursier/cache-action@v6 +# +# - name: Deploy ${{ matrix.module }} to Maven Central +# run: sbt "project ${{ matrix.module }}" ci-release +# env: +# PGP_PASSPHRASE: ${{ secrets.SONA_PGP_PASSPHRASE }} +# PGP_SECRET: ${{ secrets.SONA_PGP_SECRET }} +# SONATYPE_USERNAME: ${{ secrets.SONA_USER }} +# SONATYPE_PASSWORD: ${{ secrets.SONA_PASS }} docs: runs-on: ubuntu-latest @@ -31,4 +31,6 @@ jobs: - uses: coursier/cache-action@v6 - name: Publish docs - run: sbt "project docs" clean makeSite ghpagesPushSite + run: | + - rm -rf ~/.sbt/ghpages/xxxx + - sbt "project docs" clean makeSite ghpagesPushSite diff --git a/project/BuildSettings.scala b/project/BuildSettings.scala index c0c0813..3c8a71c 100644 --- a/project/BuildSettings.scala +++ b/project/BuildSettings.scala @@ -26,7 +26,7 @@ import com.typesafe.sbt.site.SiteScaladocPlugin.autoImport._ // ghpages import com.github.sbt.git.SbtGit.git -import com.github.sbt.sbtghpages.GhpagesPlugin.autoImport.ghpagesNoJekyll +import com.github.sbt.sbtghpages.GhpagesPlugin.autoImport._ object BuildSettings {