Skip to content

Commit

Permalink
πŸ’š add write permission for github pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdelStark committed Feb 7, 2025
1 parent 89cdea2 commit 94ee80b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
# .github/workflows/deploy-docs.yml
name: Deploy Docusaurus Site

on:
push:
branches:
- main

# Add permissions block
permissions:
contents: write # This allows the action to create and push to gh-pages

jobs:
deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 94ee80b

Please sign in to comment.