Skip to content

Commit

Permalink
Add token env in docs workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
pankajastro committed Jun 27, 2024
1 parent fe4b540 commit a8aee89
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Deploy Sphinx documentation to Pages
# Runs on pushes targeting the default branch
on:
push:
branches: [main]
branches: [main, docs-ci]
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
Expand All @@ -27,3 +27,5 @@ jobs:
steps:
- id: deployment
uses: sphinx-notes/pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit a8aee89

Please sign in to comment.