Skip to content

Commit

Permalink
Close #216 - Add sbt-devoops-starter
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin-lee committed Mar 4, 2024
1 parent 98a27ea commit d20bb03
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions project/plugins.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ val sbtDevOops = "3.0.0"
addSbtPlugin("io.kevinlee" % "sbt-devoops-scala" % sbtDevOops)
addSbtPlugin("io.kevinlee" % "sbt-devoops-sbt-extra" % sbtDevOops)
addSbtPlugin("io.kevinlee" % "sbt-devoops-github" % sbtDevOops)
addSbtPlugin("io.kevinlee" % "sbt-devoops-starter" % sbtDevOops)
4 changes: 3 additions & 1 deletion src/main/scala/githubpages/github/GitHubApi.scala
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ object GitHubApi {
)
refCommit <- updateCommitFiles(github, commitInfo, baseDir, allFiles, isText, none[Data.CommitSha], headers)
headRef <-
refCommit.traverse(commitSha => updateHead(github, gitHubRepoWithAuth.gitHubRepo, branch, commitSha, headers, forcePush))
refCommit.traverse(commitSha =>
updateHead(github, gitHubRepoWithAuth.gitHubRepo, branch, commitSha, headers, forcePush)
)
} yield headRef).value

@SuppressWarnings(Array("org.wartremover.warts.ExplicitImplicitTypes"))
Expand Down

0 comments on commit d20bb03

Please sign in to comment.