Skip to content

fbandroid/libraries/components/litho-instrumentation-tests/src/main/j… #4429

fbandroid/libraries/components/litho-instrumentation-tests/src/main/j…

fbandroid/libraries/components/litho-instrumentation-tests/src/main/j… #4429

Workflow file for this run

name: Docs
on:
push:
branches: [ master ]
workflow_dispatch:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: 'adopt'
java-version: 17
- name: Gradle caches
uses: actions/cache@v3
with:
path: ~/.gradle/caches
key: caches-${{ runner.os }}-${{ hashFiles('**/*.gradle') }}
- name: Gradle wrapper caches
uses: actions/cache@v3
with:
path: ~/.gradle/wrapper
key: wrapper-${{ runner.os }}-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties') }}
- name: Generate Reference Docs
run:
./gradlew dokkaHtmlMultiModule
- name: Install and Build
run: |
yarn
yarn build
working-directory: website/
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: website/build