Skip to content

Commit

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

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

steps:
- name: Checkout repository
uses: actions/checkout@v4
Expand All @@ -21,10 +24,8 @@ jobs:
git config --global user.email "github-actions[bot]@users.noreply.github.com"
- name: Clone wiki repository
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git clone https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.wiki.git ./wiki
git clone https://${GITHUB_TOKEN}@github.com/${{ github.repository }}.wiki.git ./wiki
- name: Copy README.md to Wiki
run: |
Expand All @@ -33,11 +34,9 @@ jobs:
cp docs/en/img/* ./wiki/img/
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd wiki
git add .
git commit -m "Sync README.md to Wiki"
git remote set-url origin https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.wiki.git
git remote set-url origin https://${GITHUB_TOKEN}@github.com/${{ github.repository }}.wiki.git
git push origin master
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 c57592e

Please sign in to comment.