Skip to content

Commit

Permalink
ci: set permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Ron de las Alas committed Sep 29, 2023
1 parent 3f285db commit cf5cf77
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
environment: ${{ github.ref == 'refs/heads/master' && 'production' || 'staging' }}
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit cf5cf77

Please sign in to comment.