mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
parent
5adc2fd703
commit
2b8846f395
2
.github/workflows/check-demo-notebooks.yml
vendored
2
.github/workflows/check-demo-notebooks.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
- name: Upload PR Number
|
||||
if: always()
|
||||
run: |
|
||||
python -c "import json; json.dump({'pr_number': ${{ env.PR_NUMBER }}}, open('metadata.json', 'w'))"
|
||||
python -c "import json; json.dump({'pr_number': ${{ env.PR_NUMBER }}, open('metadata.json', 'w'))"
|
||||
- name: Upload metadata
|
||||
if: always()
|
||||
uses: actions/upload-artifact@v3
|
||||
|
2
.github/workflows/deploy-website.yml
vendored
2
.github/workflows/deploy-website.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
||||
- name: download artifacts
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: website-json-${{ inputs.pr_number }}}
|
||||
name: website-json-${{ inputs.pr_number }}
|
||||
path: |
|
||||
./js/_website/src/lib/json
|
||||
- name: echo artifact path
|
||||
|
3
.github/workflows/trigger-changeset.yml
vendored
3
.github/workflows/trigger-changeset.yml
vendored
@ -12,5 +12,8 @@ jobs:
|
||||
permissions: write-all
|
||||
name: static checks
|
||||
runs-on: ubuntu-22.04
|
||||
if: github.event.sender.login != 'gradio-pr-bot'
|
||||
steps:
|
||||
- run: echo ${{ github.event_name }}
|
||||
- run: echo ${{ github.event.sender.login }}
|
||||
- run: echo "Triggering changeset generation"
|
||||
|
2
.github/workflows/ui.yml
vendored
2
.github/workflows/ui.yml
vendored
@ -84,7 +84,7 @@ jobs:
|
||||
- name: save artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: website-json-${{ steps.pr_details.outputs.pr_number }}}
|
||||
name: website-json-${{ steps.pr_details.outputs.pr_number }}
|
||||
path: |
|
||||
./js/_website/src/lib/json
|
||||
deploy_to_vercel:
|
||||
|
Loading…
Reference in New Issue
Block a user