Bump org.flywaydb.flyway from 7.15.0 to 9.22.0 #188
Workflow file for this run
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: Build docs site (& deploy if on master to gh-pages) | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
env: | |
GRADLE_OPTS: -Dorg.gradle.configureondemand=true -Dorg.gradle.parallel=true -Dkotlin.incremental=false -Dorg.gradle.jvmargs="-Xmx3g -XX:MaxPermSize=2048m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8" | |
jobs: | |
deploy-website: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the repo | |
uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Configure JDK | |
uses: actions/setup-java@v2 | |
with: | |
distribution: 'adopt' | |
java-version: 11.0.11+9 | |
- name: Generate API docs | |
run: ./gradlew dokkaGfm | |
- name: Prep mkdocs | |
run: .github/workflows/prepare_mkdocs.sh | |
- name: Build mkdocs | |
run: | | |
pip3 install mkdocs mkdocs-material mkdocs-macros-plugin | |
mkdocs build | |
- name: Deploy 🚀 | |
if: success() && github.ref == 'refs/heads/master' | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GH_CLIPPY_TOKEN }} | |
BRANCH: gh-pages # The branch the action should deploy to. | |
FOLDER: site # The folder the action should deploy. | |
SINGLE_COMMIT: true |