This commit is contained in:
pngwn 2024-10-09 19:37:51 +01:00 committed by GitHub
parent 5d985509b4
commit 9af29c8696
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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"