Skip to content

Commit

Permalink
add md docs job
Browse files Browse the repository at this point in the history
add md docs job

update

don't ignore docs folder

update commit name
  • Loading branch information
tonisives committed Aug 1, 2024
1 parent 1c46ec9 commit af7f6f0
Show file tree
Hide file tree
Showing 142 changed files with 42 additions and 2,023 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/add-md-docs-to-repo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Add mod docs to repo

on:
push:
branches:
- main

jobs:
docs:
runs-on: ubuntu-latest

permissions:
contents: write

steps:
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
with:
distribution: zulu
java-version: 17
cache: gradle

- name: Create docs
run: |
./gradlew :hmkit-fleet:dokkaGfm
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "Add generated docs"
commit_user_name: "GitHub Actions"
commit_user_email: ""
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ private-key.json
credentialsPrivateKey.json
credentialsOAuth.json
hmkit-fleet/bin
.vscode
.vscode

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit af7f6f0

Please sign in to comment.