check repo before deployment

This commit is contained in:
BotBlake
2026-05-11 09:22:18 +02:00
parent 59c6c7867d
commit 0bff55ec7d
+1 -1
View File
@@ -36,7 +36,7 @@ jobs:
echo "pr_number=${PR_NUMBER}" >> "${GITHUB_OUTPUT}"
deploy:
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'master' }}
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'master' && github.repository == 'jellyfin/jellyfin.org' }}
name: Deploy to GitHub Pages
permissions: