Ci security tweaks take seventy three (#9019)

* asd

* asd

* asd

* asd

* adsa

* asd

* asd
This commit is contained in:
pngwn 2024-08-06 00:45:15 +01:00 committed by GitHub
parent d607457278
commit df54b9c6fa
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 3 deletions

View File

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

View File

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