Skip to content

Commit

Permalink
(simatec) Docu sync
Browse files Browse the repository at this point in the history
  • Loading branch information
simatec committed Aug 23, 2024
1 parent 4c6fc4d commit bb74fa7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
22 changes: 14 additions & 8 deletions .github/workflows/sync-readme-to-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,24 +22,30 @@ jobs:
- name: Clone wiki repository
run: |
git clone https://github.com/${{ github.repository }}.wiki.git ./wiki
git clone https://github.com/${{ github.repository }}/wiki.git ./wiki
- name: Configure git remote with token
run: |
cd wiki
git remote set-url origin https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.wiki.git
git remote set-url origin https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}/wiki.git
- name: Copy files to Wiki
run: |
cp docs/de/backitup.md ./wiki/ioBroker.backitup-Wiki-Deutsch.md
cp docs/en/backitup.md ./wiki/ioBroker.backitup-Wiki-English.md
cp -r docs/de/img ./wiki/
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
#- name: Commit and push changes
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
#run: |
# cd wiki
#git add .
#git commit -m "Sync documentation to Wiki"
#git push
- name: Debug Git Remote
run: |
cd wiki
git add .
git commit -m "Sync documentation to Wiki"
git push
git remote -v
git config --get remote.origin.url
GIT_TRACE=1 GIT_CURL_VERBOSE=1 git push
1 change: 1 addition & 0 deletions docs/de/backitup.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,6 +648,7 @@ Des Weiteren ist für den Restore von einer InfluxDB 2.x Datenbank der Operator-
> Ohne den richtigen Operator-Token ist kein Restore möglich.


_[Zurück zum Anfang](#dokumentation-und-anleitung-für-iobrokerbackitup)_

---
Expand Down

0 comments on commit bb74fa7

Please sign in to comment.