diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 41b1014..bb99d3d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,14 +12,6 @@ jobs: - uses: actions/checkout@v2 - uses: coursier/cache-action@v6 -# - name: Deploy scala-lru-map to Maven Central -# run: sbt 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 }} - - name: Make site run: sbt makeSite @@ -27,4 +19,13 @@ jobs: uses: JamesIves/github-pages-deploy-action@v4.2.5 with: branch: gh-pages - folder: target/site \ No newline at end of file + folder: target/site + clean: false + + - name: Deploy scala-lru-map to Maven Central + run: sbt 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 }} \ No newline at end of file