-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove gh-pages sbt plugin (close #172)
- Loading branch information
Showing
6 changed files
with
60 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: RELEASE | ||
|
||
on: | ||
push: | ||
tags: | ||
- '*' | ||
|
||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: coursier/cache-action@v6 | ||
|
||
- name: Make site | ||
run: sbt makeSite | ||
|
||
- name: Publish ScalaDoc | ||
uses: JamesIves/github-pages-deploy-action@v4.2.5 | ||
with: | ||
branch: gh-pages | ||
folder: target/site | ||
clean: false | ||
|
||
- name: Deploy snowplow-maxmind-iplookups to Maven Central | ||
run: sbt ci-release | ||
env: | ||
PGP_PASSPHRASE: ${{ secrets.SONA_PGP_PASSPHRASE }} | ||
PGP_SECRET: ${{ secrets.SONA_PGP_SECRET }} | ||
SONATYPE_USERNAME: ${{ secrets.SONA_USER }} | ||
SONATYPE_PASSWORD: ${{ secrets.SONA_PASS }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.3") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-site" % "1.3.3") | ||
addSbtPlugin("com.typesafe.sbt" % "sbt-ghpages" % "0.6.2") | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "1.6.1") | ||
addSbtPlugin("io.github.davidgregory084" % "sbt-tpolecat" % "0.1.13") | ||
addSbtPlugin("com.geirsson" % "sbt-ci-release" % "1.5.7") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>Project Documentation</title> | ||
<script language="JavaScript"> | ||
<!-- | ||
function doRedirect() | ||
{ | ||
window.location.replace("@VERSION@"); | ||
} | ||
doRedirect(); | ||
//--> | ||
</script> | ||
</head> | ||
<body> | ||
<a href="@VERSION@">Go to the project documentation | ||
</a> | ||
</body> | ||
</html> |