We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e4a7cc commit 0102634Copy full SHA for 0102634
.github/workflows/site.yml
@@ -51,7 +51,7 @@ jobs:
51
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
52
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
53
# use '--branch pr####' (pr###.cldr.pages.dev) for PRs, otherwise goes to cldr.unicode.org (production)
54
- command: pages deploy ./_site --project-name=cldr ${{ github.event_name == 'push' && '' || format('--branch pr{0}', github.event.pull_request.number) }}
+ command: pages deploy ./_site --project-name=cldr ${{ github.event_name == 'pull_request' && format('--branch pr{0}', github.event.pull_request.number) || '' }}
55
- name: Calculate changed site files
56
id: prdiff
57
if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.full_name == 'unicode-org/cldr'
0 commit comments