mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2026-09-03 03:50:02 +03:00
Remove repository prefix for pages deployment on push workflow
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user