Fix cf preview (#9389)

* fix branch name

* fix syntax

* fix syntax again

* clean
This commit is contained in:
Ali Abdalla 2024-09-19 03:09:22 +04:00 committed by GitHub
parent 8c5251c0ad
commit 5f281fca95
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 --branch=${{ needs.changes.outputs.source_branch#"refs/heads/" }}
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.source_branch }}#refs/heads/}
# production
- name: Pull Vercel Environment Information