Skip to content

Commit 997cda8

Browse files
committed
CI: separate publishing docusaurus
It's failing currently.
1 parent 10e738e commit 997cda8

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/release.yml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,27 @@ jobs:
1717
cache: 'sbt'
1818
- uses: sbt/setup-sbt@v1
1919
- name: Publish ${{ github.ref }}
20-
run: sbt ci-release docs/docusaurusPublishGhpages
20+
run: sbt ci-release
21+
env:
22+
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
23+
PGP_SECRET: ${{ secrets.PGP_SECRET }}
24+
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}
25+
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
26+
27+
GIT_DEPLOY_KEY: ${{ secrets.GIT_DEPLOY_KEY }}
28+
publish-docusaurus:
29+
runs-on: ubuntu-latest
30+
steps:
31+
- uses: actions/checkout@v4
32+
with:
33+
fetch-depth: 0
34+
- uses: actions/setup-java@v4
35+
with:
36+
java-version: '11'
37+
distribution: 'temurin'
38+
cache: 'sbt'
39+
- uses: sbt/setup-sbt@v1
40+
- run: sbt docs/docusaurusPublishGhpages
2141
env:
2242
PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }}
2343
PGP_SECRET: ${{ secrets.PGP_SECRET }}

0 commit comments

Comments
 (0)