Remove repository prefix for pages deployment on push workflow

This commit is contained in:
Niels van Velzen
2026-06-01 20:36:24 +02:00
parent e1c7e99a1e
commit 6bb5fdf19b
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ jobs:
name: CloudFlare Pages 📃
runs-on: ubuntu-latest
environment:
name: ${{ inputs.branch == 'jellyfin/jellyfin-web/master' && 'Production' || 'Preview' }}
name: ${{ inputs.branch == github.event.repository.default_branch && 'Production' || 'Preview' }}
url: ${{ steps.cf.outputs.deployment-url }}
outputs:
url: ${{ steps.cf.outputs.deployment-url }}
+1 -1
View File
@@ -51,7 +51,7 @@ jobs:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
with:
branch: ${{ format('{0}/{1}', github.repository, github.ref_name) }}
branch: ${{ github.ref_name }}
commit: ${{ github.sha }}
workflow_run_id: ${{ github.run_id }}
comment: false