Merge pull request #843 from scala-steward/update/sbt-buildinfo-0.12.0 #230
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
name: Build and Deploy GhPages docs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Scala | |
uses: japgolly/setup-everything-scala@v3.1 | |
- name: Build | |
run: sbt readme/run | |
- name: Deploy | |
uses: JamesIves/github-pages-deploy-action@v4.5.0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
branch: gh-pages | |
folder: readme/target/scalatex |