Skip to content

Merge pull request #477 from scalacenter/dependabot/github_actions/ac… #30

Merge pull request #477 from scalacenter/dependabot/github_actions/ac…

Merge pull request #477 from scalacenter/dependabot/github_actions/ac… #30

Workflow file for this run

name: Build and Deploy GhPages docs
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-java@v4
with:
java-version: "11"
distribution: "adopt"
- uses: coursier/cache-action@v5
- name: Build
run: sbt manual/makeSite
- name: Deploy
uses: JamesIves/github-pages-deploy-action@3.6.2
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: gh-pages
FOLDER: manual/target/site