Skip to content

Bump versions/3.x from c010cb6 to 0c54b68 #903

Bump versions/3.x from c010cb6 to 0c54b68

Bump versions/3.x from c010cb6 to 0c54b68 #903

Workflow file for this run

name: Microsite
on:
pull_request:
branches: [docs]
push:
branches: [docs]
env:
JABBA_INDEX: 'https://github.com/typelevel/jdk-index/raw/main/index.json'
jobs:
build:
name: Generate Microsite
runs-on: ubuntu-latest
steps:
- name: Checkout current branch (fast)
uses: actions/checkout@v2
with:
submodules: true
- name: Setup Java
uses: actions/setup-java@v2
with:
distribution: temurin
java-version: 11
- name: Install NodeJS 14
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Cache sbt
uses: actions/cache@v2
with:
path: |
~/.sbt
~/.ivy2/cache
~/.coursier/cache/v1
~/.cache/coursier/v1
key: ${{ runner.os }}-sbt-cache-v2-${{ hashFiles('**/*.sbt') }}-${{ hashFiles('**/project/build.properties') }}
- name: Cache yarn
uses: actions/cache@v2
with:
path: |
website/yarn.lock
**/node_modules
key: ${{ runner.os }}-yarn-cache-v2-${{ hashFiles('website/package.json') }}
- name: Build
run: ./build.sh
- name: Publish
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./website/build/cats-effect
publish_branch: gh-pages