Skip to content

Commit

Permalink
(simatec) Fix Docu Sync
Browse files Browse the repository at this point in the history
  • Loading branch information
simatec committed Sep 13, 2024
1 parent 302c2eb commit c89871d
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 13 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/sync-readme-to-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd wiki
git add .
git commit -m "Sync Docu to Wiki"
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.wiki.git
if git diff --quiet; then
echo "No changes to commit."
else
git add .
git commit -m "Sync Docu to Wiki"
git push https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.wiki.git
fi
30 changes: 21 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"axios": "^1.7.7",
"chai": "^4.5.0",
"chai-as-promised": "^7.1.2",
"eslint": "^9.9.1",
"eslint": "^9.10.0",
"mocha": "^10.7.3",
"sinon": "^18.0.0",
"sinon-chai": "^3.7.0"
Expand Down

0 comments on commit c89871d

Please sign in to comment.