Skip to content

Commit a256dc0

Browse files
committed
Update GitHub Actions workflow for deploying docs with added permissions and debugging
1 parent 619aa2a commit a256dc0

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,29 @@ on:
55
branches:
66
- readthedocs
77

8+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
9+
permissions:
10+
contents: write
11+
pages: write
12+
id-token: write
13+
814
jobs:
915
deploy:
1016
runs-on: ubuntu-latest
1117
steps:
18+
- name: Debug GitHub Actions permissions
19+
run: |
20+
echo "GitHub Actions permissions:"
21+
echo "GITHUB_TOKEN: ${{ github.token }}"
22+
1223
- uses: actions/checkout@v4
1324
with:
1425
fetch-depth: 0
26+
27+
- name: Debug git configuration
28+
run: |
29+
git config --list
30+
git remote -v
1531
- name: Set up Python 3.13
1632
uses: actions/setup-python@v5
1733
with:

0 commit comments

Comments
 (0)