Skip to content

Commit

Permalink
(simatec) Fix Docu
Browse files Browse the repository at this point in the history
  • Loading branch information
simatec committed Aug 23, 2024
1 parent 9a5c7da commit 28d0404
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/sync-readme-to-wiki.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
sync-wiki:
runs-on: ubuntu-latest

env:
GITHUB_TOKEN: ${{ secrets.NPM_TOKEN }}

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -24,8 +21,10 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Clone wiki repository
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
git clone https://${GITHUB_TOKEN}@github.com/${{ github.repository }}.wiki.git ./wiki
git clone https://github-actions[bot]:$NPM_TOKEN@github.com/${{ github.repository }}.wiki.git ./wiki
- name: Copy README.md to Wiki
run: |
Expand All @@ -34,9 +33,10 @@ jobs:
cp docs/en/img/* ./wiki/img/
- name: Commit and push changes
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
cd wiki
git add .
git commit -m "Sync README.md to Wiki"
git remote set-url origin https://${GITHUB_TOKEN}@github.com/${{ github.repository }}.wiki.git
git push origin master
git push https://github-actions[bot]:[email protected]/${{ github.repository }}.wiki.git
1 change: 0 additions & 1 deletion docs/de/backitup.md
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,6 @@ 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 28d0404

Please sign in to comment.