Skip to content

Commit

Permalink
Update permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
okhan-okbay-cko committed Sep 19, 2023
1 parent e4dfc5a commit 810606b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/generate-jazzy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ concurrency:
jobs:
generate-jazzy-docs:
name: Generate Docs
environment: DocCreation
runs-on: macos-latest
permissions:
contents: write

steps:
- name: Checkout
Expand Down Expand Up @@ -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

0 comments on commit 810606b

Please sign in to comment.