-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (30 loc) · 911 Bytes
/
pages.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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: |
echo "${{ secrets.OSSRH_GPG_SECRET_KEY }}" | base64 -d | 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 dokkaHtml --parallel
- name: Deploy HTML Docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build/dokka