Skip to content

Commit

Permalink
Add permission for deploy to prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Nischal2015 committed May 7, 2024
1 parent cbbdfe9 commit f606141
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ jobs:
files: web

deploy-prod:
permissions:
contents: write
needs: [build]
if: ${{ github.ref == 'refs/heads/main' }}

Expand Down

0 comments on commit f606141

Please sign in to comment.