Skip to content

Commit

Permalink
Remove permissions:
Browse files Browse the repository at this point in the history
  • Loading branch information
williamdes authored Sep 8, 2024
1 parent 6023bbb commit 2bf5126
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,6 @@ This example will build and deploy to gh-pages on push to the main branch.
```yml
name: Zola on GitHub Pages

permissions:
contents: read

on:
push:
branches:
Expand All @@ -33,8 +30,6 @@ jobs:
build:
name: Publish site
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout main
uses: actions/checkout@v4
Expand All @@ -49,9 +44,6 @@ and it will build only on pull requests.
```yml
name: Zola on GitHub Pages

permissions:
contents: read

on:
push:
branches:
Expand All @@ -77,8 +69,6 @@ jobs:
build_and_deploy:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
permissions:
contents: write
steps:
- name: Checkout main
uses: actions/checkout@v4
Expand Down

0 comments on commit 2bf5126

Please sign in to comment.