AUTOMATION: Version Bump and CHANGELOG Update #92
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: ReleaseDocs | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
publish_dokka: | |
name: Dokka docs | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/[email protected] | |
with: | |
ref: main | |
- name: Set up JDK 17 | |
uses: actions/[email protected] | |
with: | |
distribution: adopt | |
java-version: 17 | |
- name: Generate Dokka HTML docs | |
run: ./gradlew dokkaHtmlMultimodule | |
- name: Deploy to GitHub pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.STREAM_PUBLIC_BOT_TOKEN }} | |
publish_dir: ./build/dokka/htmlMultiModule | |
publish_branch: gh-pages | |
push_docusaurus: | |
name: Publish docusaurus docs | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check out code | |
uses: actions/[email protected] | |
with: | |
ref: main | |
- name: Set up JDK 17 | |
uses: actions/[email protected] | |
with: | |
distribution: adopt | |
java-version: 17 | |
- name: push | |
uses: GetStream/push-stream-chat-docusaurus-action@main | |
with: | |
target-branch: 'production' | |
env: | |
DOCUSAURUS_GH_TOKEN: ${{ secrets.DOCUSAURUS_GH_TOKEN }} |