Skip to content

Commit

Permalink
stop using permission
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementCariou committed Apr 13, 2023
1 parent f5b6b0e commit 7ad093f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/build-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,8 @@ jobs:
sed -i '/build.html/d' .gitignore
sed -i '/images/images.json/d' .gitignore
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.2
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: build
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
permissions:
contents: write
token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 7ad093f

Please sign in to comment.