Fix pr previews cloudflare (#9209)

* tet

* add changeset

* fix branch to preview

---------

Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
Ali Abdalla 2024-08-28 19:22:45 -07:00 committed by GitHub
parent 5878fb189c
commit 284fafb215
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -85,7 +85,7 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
command: pages deploy js/_website/.vercel/output/static --project-name=gradio-website
command: pages deploy js/_website/.vercel/output/static --project-name=gradio-website --branch=${{ needs.changes.outputs.pr_number }}
# production
- name: Pull Vercel Environment Information