Skip to content

Commit

Permalink
Merge pull request #609 from danicheg/series/1.x-site-publishing
Browse files Browse the repository at this point in the history
Publish site only from `main` branch
  • Loading branch information
danicheg authored Feb 3, 2022
2 parents b730526 + 1d8fae7 commit b64dedb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition 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 @@ -267,7 +267,7 @@ jobs:
run: sbt '++${{ matrix.scala }}' docs/tlSite

- name: Publish site
if: github.event_name != 'pull_request' && startsWith(github.ref, 'refs/tags/v')
if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main'
uses: peaceiris/[email protected]
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 0 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ ThisBuild / tlBaseVersion := "1.5"
ThisBuild / crossScalaVersions := Seq(Scala213, Scala212, Scala3)
ThisBuild / scalaVersion := Scala213
ThisBuild / startYear := Some(2018)
ThisBuild / tlSitePublishBranch := None
ThisBuild / tlCiReleaseBranches := Seq()
ThisBuild / developers := List(
Developer(
Expand Down

0 comments on commit b64dedb

Please sign in to comment.