diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index f714eb2e9..c3c4d067a 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -1,6 +1,6 @@ name: Deploy updated templates -on: +on: workflow_dispatch: jobs: @@ -22,7 +22,7 @@ jobs: - name: Deploy to docs repo uses: peaceiris/actions-gh-pages@v3 with: - personal_token: ${{ secrets.GH_API_DOCS_TOKEN }} + personal_token: ${{ secrets.GH_REPO }} publish_dir: ./templates/docs external_repository: evcc-io/docs publish_branch: main diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e98c36e89..677ad0ce3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -99,7 +99,7 @@ jobs: version: latest args: release --rm-dist env: - GITHUB_TOKEN: ${{ secrets.GH_GORELEASER }} + GITHUB_TOKEN: ${{ secrets.GH_REPO }} - name: Publish .deb to Cloudsmith env: