From 28d0404636631ecc3d5ac8e4933e5d4727f4ba35 Mon Sep 17 00:00:00 2001 From: simatec Date: Sat, 24 Aug 2024 00:05:33 +0200 Subject: [PATCH] (simatec) Fix Docu --- .github/workflows/sync-readme-to-wiki.yml | 12 ++++++------ docs/de/backitup.md | 1 - 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/sync-readme-to-wiki.yml b/.github/workflows/sync-readme-to-wiki.yml index 13b146a6..75fcd5f1 100644 --- a/.github/workflows/sync-readme-to-wiki.yml +++ b/.github/workflows/sync-readme-to-wiki.yml @@ -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 @@ -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: | @@ -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]:$NPM_TOKEN@github.com/${{ github.repository }}.wiki.git diff --git a/docs/de/backitup.md b/docs/de/backitup.md index e72bb5b6..55e71e6b 100644 --- a/docs/de/backitup.md +++ b/docs/de/backitup.md @@ -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)_ ---