* ci tweaks

* ci tweaks
This commit is contained in:
pngwn 2023-08-11 22:00:32 +01:00 committed by GitHub
parent 5adc2fd703
commit 2b8846f395
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 6 additions and 3 deletions

View File

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

View File

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

View File

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

View File

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