Skip to content

Commit

Permalink
add permission set to netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaietta committed Nov 2, 2024
1 parent b705594 commit bd5b1b6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/deploy-netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

permissions:
contents: read
statuses: write

jobs:
deploy:
Expand Down Expand Up @@ -43,6 +44,6 @@ jobs:
authToken: ${{ secrets.GITHUB_TOKEN }}
state: success
context: Netlify Documentation Site preview
description: Click "details"
description: Production - Click "details"
target_url: ${{ env.NETLIFY_PREVIEW_URL }}
sha: ${{github.event.pull_request.head.sha || github.sha}}
2 changes: 1 addition & 1 deletion .github/workflows/pr-netlify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,6 @@ jobs:
authToken: ${{ secrets.GITHUB_TOKEN }}
state: success
context: Netlify Documentation Site preview
description: Click "details"
description: Development - Click "details"
target_url: ${{ env.NETLIFY_PREVIEW_URL }}
sha: ${{github.event.pull_request.head.sha || github.sha}}

0 comments on commit bd5b1b6

Please sign in to comment.