Skip to content

Docs

Docs #1282

Workflow file for this run

name: Docs
on:
schedule:
- cron: '0 2 * * 0-6'
push:
branches:
- docs
jobs:
test:
name: 'Deploy docs on macos-latest JDK 8'
runs-on: 'macos-latest'
steps:
- uses: 'actions/checkout@v2'
- run: 'git fetch --prune --unshallow --tags'
- name: 'Set up JDK'
uses: 'actions/setup-java@v2'
with:
distribution: 'adopt'
java-version: '8'
- name: 'Build with Gradle'
run: './gradlew assemble -PorchidEnvironment=docs'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: 'Publish docs with Orchid'
run: './gradlew :docs:orchidDeploy -PorchidEnvironment=docs'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}