Skip to content

Commit

Permalink
ci(github): set actions permission with others
Browse files Browse the repository at this point in the history
  • Loading branch information
timmywil committed Sep 22, 2023
1 parent 74ae9ba commit b27483e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ on:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
actions: write
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
Expand All @@ -28,8 +28,6 @@ defaults:
jobs:
deploy:
runs-on: ubuntu-latest
permissions:
actions: write
env:
DEPLOY_DIR: _site/
DEPLOY_BRANCH: gh-pages
Expand Down

0 comments on commit b27483e

Please sign in to comment.