mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-06 12:30:29 +08:00
asdasd (#9620)
This commit is contained in:
parent
5d985509b4
commit
9af29c8696
2
.github/workflows/website-build.yml
vendored
2
.github/workflows/website-build.yml
vendored
@ -69,5 +69,5 @@ jobs:
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: website
|
||||
path: js/_website/.vercel
|
||||
path: js/_website/build
|
||||
include-hidden-files: true
|
||||
|
6
.github/workflows/website-deploy.yml
vendored
6
.github/workflows/website-deploy.yml
vendored
@ -58,7 +58,7 @@ jobs:
|
||||
uses: actions/download-artifact@v4
|
||||
with:
|
||||
name: website
|
||||
path: js/_website/.vercel
|
||||
path: js/_website/build
|
||||
run-id: ${{ github.event.workflow_run.id }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: list files
|
||||
@ -71,7 +71,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 }}
|
||||
command: pages deploy js/_website/build --project-name=gradio-website --branch=${{ needs.changes.outputs.source_branch }}
|
||||
|
||||
# production
|
||||
- name: Deploy Production Website to Cloudflare Pages
|
||||
@ -81,7 +81,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=main
|
||||
command: pages deploy js/_website/build --project-name=gradio-website --branch=main
|
||||
|
||||
comment-deploy-success:
|
||||
uses: "./.github/workflows/comment-queue.yml"
|
||||
|
Loading…
x
Reference in New Issue
Block a user