Skip to content

Commit

Permalink
enable permissions to write to github pages automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
blakmatrix committed Jan 4, 2024
1 parent 470e74a commit ac07d2c
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@ jobs:
# Combined CI and CD Jobs to reduce redundancy
build-and-deploy:
runs-on: ubuntu-latest

# Sets permissions for the GITHUB_TOKEN
permissions:
contents: read
pages: write
id-token: write

steps:
# Checkout code just once
- uses: actions/checkout@v3
Expand Down

0 comments on commit ac07d2c

Please sign in to comment.