Skip to content

Commit

Permalink
Merge pull request #2191 from tgodzik/update-mdoc
Browse files Browse the repository at this point in the history
chore: Update mdoc and move website release to a separate job
  • Loading branch information
tgodzik authored Nov 16, 2023
2 parents 4edaddf + f7073d5 commit 0f6e059
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ jobs:
ls -l bloop-artifacts
mkdir -p frontend/target
mv bloop-artifacts frontend/target/graalvm-binaries
sbt "ci-release; docs/docusaurusPublishGhpages"
sbt ci-release
shell: bash

- name: Cut GitHub release and update installers on ${{ matrix.os }}
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/release-website.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Release website
on:
push:
branches: [main]
tags: ["*"]
concurrency:
group: release-${{ github.ref }}
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
cache: 'sbt'
- name: Publish
run: |
sbt docs/docusaurusPublishGhpages
env:
GITHUB_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }}
2 changes: 1 addition & 1 deletion project/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0")
addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.3.7")
addSbtPlugin("com.github.sbt" % "sbt-git" % "2.0.1")
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.4.0")
addSbtPlugin("org.scalameta" % "sbt-mdoc" % "2.5.1")
addSbtPlugin("org.scala-debugger" % "sbt-jdi-tools" % "1.1.1")
addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.9.16")
addSbtPlugin("ch.epfl.scala" % "sbt-scalafix" % "0.11.1")
Expand Down

0 comments on commit 0f6e059

Please sign in to comment.