diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1618a021bf..99cf27f85c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 }} diff --git a/.github/workflows/release-website.yml b/.github/workflows/release-website.yml new file mode 100644 index 0000000000..6a491fce23 --- /dev/null +++ b/.github/workflows/release-website.yml @@ -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 }} diff --git a/project/build.sbt b/project/build.sbt index 248ddcbc69..16bda38e11 100644 --- a/project/build.sbt +++ b/project/build.sbt @@ -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")