Skip to content

Commit 4097db2

Browse files
authored
Update permissions in docs.yml workflow
Removed write permission for pages and adjusted permissions. Signed-off-by: Eric Deandrea <[email protected]>
1 parent ce08b15 commit 4097db2

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,14 @@ defaults:
2222
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
2323
permissions:
2424
contents: read
25-
pages: write
2625
id-token: write
26+
pull-requests: write
2727

2828
jobs:
2929
docs:
3030
runs-on: ubuntu-latest
3131
name: Build/publish Docs
3232
if: github.repository == 'docling-project/docling-java'
33-
environment:
34-
name: github-pages
35-
url: ${{ steps.deployment.outputs.page_url }}
3633
steps:
3734
- name: Setup env (release)
3835
if: github.event_name == 'release'

0 commit comments

Comments
 (0)