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 9, 2024
1 parent e2b78a7 commit 116c1fe
Showing 1 changed file with 7 additions and 3 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

0 comments on commit 116c1fe

Please sign in to comment.