diff --git a/.github/workflows/generate-jazzy-docs.yml b/.github/workflows/generate-jazzy-docs.yml index 42e22cd01..a356f319c 100644 --- a/.github/workflows/generate-jazzy-docs.yml +++ b/.github/workflows/generate-jazzy-docs.yml @@ -16,8 +16,9 @@ concurrency: jobs: generate-jazzy-docs: name: Generate Docs - environment: DocCreation runs-on: macos-latest + permissions: + contents: write steps: - name: Checkout @@ -58,10 +59,10 @@ jobs: - name: Create Branch env: BRANCH_NAME: "update/jazzy-docs" - GITHUB_TOKEN: ${{ secrets.DOC_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: | git branch $BRANCH_NAME git checkout $BRANCH_NAME git add . git commit -m "Update jazzy docs" - git push -u origin $BRANCH_NAME + git push -u origin $BRANCH_NAME --force