-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
8 additions
and
4 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 |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Update devices in wiki | |
|
||
permissions: | ||
contents: write | ||
|
||
on: | ||
workflow_dispatch: | ||
push: | ||
|
@@ -45,6 +45,10 @@ jobs: | |
cd mkdocs_branch | ||
git config --global user.name 'github-actions' | ||
git config --global user.email '[email protected]' | ||
git add docs/features.md | ||
git commit -m 'Update features.md with new device data' | ||
git push origin mkdocs | ||
if [[ -n $(git status --porcelain) ]]; then | ||
git add docs/features.md | ||
git commit -m 'Update features.md with new device data' | ||
git push origin mkdocs | ||
else | ||
echo "No changes to commit" | ||
fi |