Skip to content

Commit

Permalink
Update site on tag releases.
Browse files Browse the repository at this point in the history
  • Loading branch information
tarao committed Nov 20, 2023
1 parent e9b46a5 commit f2463a5
Show file tree
Hide file tree
Showing 2 changed files with 2 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 @@ -388,7 +388,7 @@ jobs:
run: sbt docs/tlSite

- name: Publish site
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/master'
if: github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v')
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ ThisBuild / githubWorkflowAddedJobs ++= Seq(
),
)

ThisBuild / tlSitePublishBranch := Some("master")
ThisBuild / tlSitePublishBranch := None // update on tag releases
lazy val docs = project
.in(file("site"))
.dependsOn(core.jvm, circe.jvm)
Expand Down

0 comments on commit f2463a5

Please sign in to comment.