mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-06 12:30:29 +08:00
Ci security tweaks take seventy three (#9019)
* asd * asd * asd * asd * adsa * asd * asd
This commit is contained in:
parent
d607457278
commit
df54b9c6fa
2
.github/workflows/previews-build.yml
vendored
2
.github/workflows/previews-build.yml
vendored
@ -71,7 +71,7 @@ jobs:
|
||||
- name: upload demos
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: demo
|
||||
name: all_demos
|
||||
path: demo/all_demos
|
||||
- name: Create JS client tarball
|
||||
id: create_js_tarball
|
||||
|
4
.github/workflows/previews-deploy.yml
vendored
4
.github/workflows/previews-deploy.yml
vendored
@ -103,7 +103,7 @@ jobs:
|
||||
curl https://raw.githubusercontent.com/gradio-app/gradio/main/scripts/upload_demo_to_space.py -o scripts/upload_demo_to_space.py
|
||||
curl https://raw.githubusercontent.com/gradio-app/gradio/main/scripts/upload_website_demos.py -o scripts/upload_website_demos.py
|
||||
- name: make dirs
|
||||
run: mkdir -p demo/all_demos && mv demo/* demo/all_demos/
|
||||
run: mkdir -p demo/all_demos && mv all_demos/* demo/all_demos/
|
||||
- name: Upload demo to spaces
|
||||
if: github.event.workflow_run.event == 'pull_request'
|
||||
id: upload-demo
|
||||
@ -156,7 +156,7 @@ jobs:
|
||||
comment-spaces-failure:
|
||||
uses: "./.github/workflows/comment-queue.yml"
|
||||
needs: [deploy, changes]
|
||||
if: always() && needs.deploy == 'failure'
|
||||
if: always() && needs.deploy.result == 'failure'
|
||||
secrets:
|
||||
gh_token: ${{ secrets.COMMENT_TOKEN }}
|
||||
with:
|
||||
|
Loading…
x
Reference in New Issue
Block a user