only run nightly.yml on TriliumNext/Trilium

stops nightly CI/CD errors on forks without having to disable CI/CD entirely
This commit is contained in:
matt wilkie 2025-08-11 21:07:15 -07:00 committed by GitHub
parent a3014434cf
commit 258c0d511e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,6 +27,7 @@ permissions:
jobs:
nightly-electron:
if: github.repository == 'TriliumNext/Trilium'
name: Deploy nightly
strategy:
fail-fast: false
@ -96,6 +97,7 @@ jobs:
path: apps/desktop/upload
nightly-server:
if: github.repository == 'TriliumNext/Trilium'
name: Deploy server nightly
strategy:
fail-fast: false