Skip to content

Commit

Permalink
use github.token
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Jan 18, 2024
1 parent 69e0a2e commit 702fcde
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@ jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
contents: write
steps:
- uses: actions/checkout@v3

Expand Down Expand Up @@ -62,7 +60,7 @@ jobs:
git config --local user.name "sandwich [bot]"
- name: Set Remote URL with PAT
run: git remote set-url origin https://${{ secrets.DOCS_DEPLOY_TOKEN }}@github.com/${{ github.repository }}
run: git remote set-url origin https://${{ github.token }}@github.com/${{ github.repository }}

- name: Commit and Push Documentation
run: |
Expand Down

0 comments on commit 702fcde

Please sign in to comment.