Skip to content
This repository has been archived by the owner on Sep 15, 2024. It is now read-only.

Commit

Permalink
ci: add permissions to documentation deployment job
Browse files Browse the repository at this point in the history
  • Loading branch information
Dwigoric committed Dec 11, 2023
1 parent 3b73367 commit 8544c9b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/docs-cf-pages-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:
build:
name: Build documentation
runs-on: ubuntu-latest
environment:
name: 'Build Documentation'
url: ${{ steps.deploy-to-cloudflare-pages.outputs.url }}

steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -75,6 +73,9 @@ jobs:
environment:
name: 'Publish Documentation'
url: ${{ steps.deploy-to-cloudflare-pages.outputs.url }}
permissions:
contents: read
deployments: write

steps:
- name: Checkout
Expand Down

0 comments on commit 8544c9b

Please sign in to comment.