Skip to content

Version bump

Version bump #172

Workflow file for this run

name: Doc Compiler
on:
push:
branches: [ '*' ]
paths-ignore:
- '**.yml'
jobs:
compile-docs:
if: github.repository == 'senseiwells/EssentialClient'
name: Generate Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout EssentialClient
uses: actions/checkout@v3
- name: Setup Java
uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 17
- name: Generate Documentations
run: ./gradlew runClient --args="--generate ../../../generated" --stacktrace --no-daemon
- name: Commit Changes
continue-on-error: true
run: |
git config --global user.name 'github-actions-bot'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add .
git commit -m "Update generated documentation" || exit 0
git push
- name: Notify Zeno
uses: appleboy/discord-action@master
with:
webhook_id: ${{ secrets.ZENO_WEBHOOK_ID }}
webhook_token: ${{ secrets.ZENO_WEBHOOK_TOKEN }}
message: Update the documentation!
# - name: Update Arucas Snippets
# uses: dmnemec/copy_file_to_another_repo_action@main
# env:
# API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
# with:
# source_file: generated/snippets/arucas.json
# destination_repo: senseiwells/Arucas-VSCode-Extension
# destination_folder: snippets
# user_email: [email protected]
# user_name: senseiwells
# commit_message: Snippets update from upstream
- name: Update Wiki
uses: Andrew-Chen-Wang/github-wiki-action@v3
env:
WIKI_DIR: docs/wiki/
GH_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
GH_MAIL: [email protected]
GH_NAME: senseiwells