mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-31 12:20:26 +08:00
Always deploy to spaces (#5777)
This commit is contained in:
parent
2626a26f18
commit
f09aea34d6
4
.github/workflows/deploy-pr-to-spaces.yml
vendored
4
.github/workflows/deploy-pr-to-spaces.yml
vendored
@ -48,9 +48,7 @@ jobs:
|
||||
- run: unzip all_demos.zip -d all_demos
|
||||
- run: cp -R all_demos/* demo/all_demos
|
||||
- name: Upload demo to spaces
|
||||
if: >
|
||||
github.event.workflow_run.event == 'pull_request' &&
|
||||
github.event.workflow_run.conclusion == 'success'
|
||||
if: github.event.workflow_run.event == 'pull_request'
|
||||
id: upload-demo
|
||||
run: |
|
||||
python scripts/upload_demo_to_space.py all_demos \
|
||||
|
Loading…
x
Reference in New Issue
Block a user