mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-13 11:57:29 +08:00
Fix website again again (#9063)
* run the website workflows * run the website workflows * asd * asd
This commit is contained in:
parent
e5407ae82e
commit
6778b8353d
4
.github/workflows/website-deploy.yml
vendored
4
.github/workflows/website-deploy.yml
vendored
@ -73,7 +73,7 @@ jobs:
|
||||
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_DEPLOY_TOKEN }} --cwd js/_website
|
||||
|
||||
- name: Deploy Project Artifacts to Vercel
|
||||
if: needs.changes.outputs.pr_number != 'true'
|
||||
if: needs.changes.outputs.pr_number != 'false'
|
||||
id: output_url
|
||||
shell: bash
|
||||
run: echo "vercel_url=$(vercel deploy --prebuilt --token=${{ secrets.VERCEL_DEPLOY_TOKEN }} --cwd js/_website)" >> $GITHUB_OUTPUT
|
||||
@ -87,7 +87,7 @@ jobs:
|
||||
- name: Deploy Project Artifacts to Vercel
|
||||
if: needs.changes.outputs.source_repo == 'gradio-app/gradio' && endsWith(needs.changes.outputs.source_branch, 'main')
|
||||
shell: bash
|
||||
run: echo "VERCEL_URL=$(vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_DEPLOY_TOKEN }})" --cwd js/_website >> $GITHUB_ENV
|
||||
run: echo "VERCEL_URL=$(vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_DEPLOY_TOKEN }} --cwd js/_website)" >> $GITHUB_ENV
|
||||
|
||||
comment-deploy-success:
|
||||
uses: "./.github/workflows/comment-queue.yml"
|
||||
|
Loading…
Reference in New Issue
Block a user