Update sbt-ghpages to 0.9.0 (#1723) #25
Workflow file for this run
This file contains hidden or 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: Publish Site | |
| on: | |
| push: | |
| tags: ["*"] | |
| jobs: | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 0 | |
| # setup build environment | |
| - name: Setup JDK | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: zulu | |
| java-version: 8 | |
| cache: sbt | |
| - uses: sbt/setup-sbt@v1 | |
| # this setup is all for the github pages deployment to work | |
| - name: install sphinx | |
| run: | | |
| pip3 install --user sphinx sphinx_rtd_theme | |
| which sphinx-build | |
| - name: setup git | |
| run: | | |
| git config --global user.name github-actions | |
| git config --global user.email github-actions@github.com | |
| - name: Publish Site | |
| run: sbt ghpagesPushSite | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |