generated from cis3296f22/project-template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Theron Halsey <[email protected]>
- Loading branch information
1 parent
460f510
commit b6e6e14
Showing
1 changed file
with
8 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,18 +25,24 @@ jobs: | |
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: "20.x" | ||
- name: JSDoc Action | ||
- name: JSDoc Action - src | ||
uses: andstor/[email protected] | ||
with: | ||
source_dir: ./src | ||
recurse: true | ||
output_dir: ./out/src | ||
- name: JSDoc Action - utils | ||
uses: andstor/[email protected] | ||
with: | ||
source_dir: ./utils | ||
recurse: true | ||
output_dir: ./out/utils | ||
- name: Push docs to repo | ||
run: | | ||
git config --global user.name github-actions[bot] | ||
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
git add ./out | ||
git commit -m "Updating Jsdoc documentation" || echo "No changes to commit" | ||
git commit -a -m "Updating Jsdoc documentation" | ||
- name: Push changes | ||
uses: ad-m/github-push-action@master | ||
with: | ||
|