Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
oguzhanunlu committed Oct 10, 2023
1 parent b6f0e44 commit 68a3f69
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 19 deletions.
38 changes: 20 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
2 changes: 1 addition & 1 deletion project/BuildSettings.scala
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

Expand Down

0 comments on commit 68a3f69

Please sign in to comment.