1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Merge pull request #5892 from thornbill/fix-cf-pages-branch-2

This commit is contained in:
Bill Thornton 2024-08-07 17:26:41 -04:00 committed by GitHub
commit 1a9f51c9b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -89,7 +89,12 @@ jobs:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: jellyfin-web
branch: ${{ github.event.pull_request.head.ref || github.ref_name }}
branch: |
${{
github.event.pull_request.head.repo.full_name == github.repository
&& (github.event.pull_request.head.ref || github.ref_name)
|| format('{0}/{1}', github.event.pull_request.head.repo.full_name, github.event.pull_request.head.ref)
}}
directory: dist
gitHubToken: ${{ secrets.GITHUB_TOKEN }}