Skip to content

Commit

Permalink
Simplify ghpages publish task
Browse files Browse the repository at this point in the history
  • Loading branch information
pondzix committed Feb 18, 2022
1 parent 239f211 commit f9f5795
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,20 @@ 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

- name: Publish ScalaDoc
uses: JamesIves/github-pages-deploy-action@v4.2.5
with:
branch: gh-pages
folder: target/site
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 }}

0 comments on commit f9f5795

Please sign in to comment.