Skip to content

Commit

Permalink
Set deploy_repo to false for PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh5 committed Jan 18, 2025
1 parent 35db98e commit f83364e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/plugin-repo-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -262,5 +262,5 @@ jobs:
- name: Generate and Deploy Unmanic Plugin Repository
uses: Unmanic/action.generate-unmanic-plugin-repo@master
with:
deploy_repo: ${{ github.ref == 'refs/heads/master' && 'true' || 'false' }}
deploy_repo: ${{ (github.ref == 'refs/heads/master' || github.ref == 'refs/heads/official') && github.event_name != 'pull_request' && 'true' || 'false' }}
github_token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f83364e

Please sign in to comment.