Bump versions/3.x from 98b175b to d83fef0
#1020
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: Microsite | |
| on: | |
| pull_request: | |
| branches: [docs] | |
| push: | |
| branches: [docs] | |
| jobs: | |
| build: | |
| name: Generate Microsite | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout current branch (fast) | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Setup Java | |
| uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: 11 | |
| cache: sbt | |
| - name: Install Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| cache: 'npm' | |
| cache-dependency-path: 'website/package-lock.json' | |
| - name: Build | |
| run: ./build.sh | |
| - name: Publish | |
| if: github.event_name == 'push' | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./website/build/cats-effect | |
| publish_branch: gh-pages |