From 8e374f467762b925e41bb446bd5c7bc3cf25a799 Mon Sep 17 00:00:00 2001 From: Milad Khajavi Date: Mon, 21 Nov 2022 10:31:51 +0330 Subject: [PATCH] use hash versioning for publishing docs. --- .github/workflows/site.yml | 2 +- project/plugins.sbt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/site.yml b/.github/workflows/site.yml index 9a0cbf93..41e451be 100644 --- a/.github/workflows/site.yml +++ b/.github/workflows/site.yml @@ -23,6 +23,6 @@ jobs: node-version: '16.x' registry-url: 'https://registry.npmjs.org' - name: Publishing Docs to NPM Registry - run: sbt docs/publishToNpm + run: sbt docs/publishHashverToNpm env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/project/plugins.sbt b/project/plugins.sbt index 4ac8db65..bc6158c3 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -8,6 +8,6 @@ addSbtPlugin("com.github.cb372" % "sbt-explicit-dependencies" % "0.2.16") addSbtPlugin("org.portable-scala" % "sbt-crossproject" % "1.2.0") addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.5") addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6") -addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.0.0+83-40726325-SNAPSHOT") +addSbtPlugin("dev.zio" % "zio-sbt-website" % "0.0.0+84-6fd7d64e-SNAPSHOT") resolvers += Resolver.sonatypeRepo("public")