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 e286ead
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 18 deletions.
34 changes: 17 additions & 17 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 Down
3 changes: 2 additions & 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 Expand Up @@ -92,6 +92,7 @@ object BuildSettings {

val ghPagesSettings = Seq(
git.remoteRepo := "[email protected]:snowplow-incubator/common-streams.git",
ghpagesRepository := file(s"/tmp/docs/${organization.value}/${name.value}/${version.value}"),
ghpagesNoJekyll := true
)
}

0 comments on commit e286ead

Please sign in to comment.