Skip to content

Update Github Pages #21

Update Github Pages

Update Github Pages #21

Workflow file for this run

name: Update Github Pages
on:
workflow_dispatch:
workflow_run:
workflows: ["Release build"]
types:
- completed
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Java
uses: actions/setup-java@v1
with:
java-version: 11
- id: install-secret-key
name: Install gpg secret key
run: |
cat <(echo -e "${{ secrets.OSSRH_GPG_SECRET_KEY }}") | gpg --batch --import
gpg --list-secret-keys --keyid-format LONG
- name: Install libcurl
run: sudo apt-get update && sudo apt-get install -y libcurl4-openssl-dev
- name: Build Dokka HTML
run: gradle dokkaHtmlMultiModule --parallel
- name: Deploy HTML Docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/dokka