Code ship release component tree with a single runnable #4408
This file contains 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: 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 |