mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-06 12:30:29 +08:00
parent
ba3dfa1ddf
commit
b9ed3a246a
2
.github/workflows/previews-build.yml
vendored
2
.github/workflows/previews-build.yml
vendored
@ -53,7 +53,7 @@ jobs:
|
||||
- name: Upload Lite NPM package
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: gradio-lite-${{ needs.changes.outputs.sha }}
|
||||
name: gradio-lite-tar
|
||||
path: js/lite/gradio-lite-*.tgz
|
||||
- name: install deps
|
||||
run: python -m pip install build
|
||||
|
2
.github/workflows/previews-deploy.yml
vendored
2
.github/workflows/previews-deploy.yml
vendored
@ -101,7 +101,7 @@ jobs:
|
||||
export AWS_SECRET_ACCESS_KEY=${{ secrets.LITE_PREVIEWS_AWS_S3_SECRET_ACCESS_KEY }}
|
||||
export AWS_DEFAULT_REGION=us-east-1
|
||||
mkdir -p ./gradio-lite-files
|
||||
tar -xzf ./gradio-lite-${{ needs.changes.outputs.sha }}/gradio-lite-*.tgz -C ./gradio-lite-files
|
||||
tar -xzf ./gradio-lite-tar/gradio-lite-*.tgz -C ./gradio-lite-files
|
||||
aws s3 cp ./gradio-lite-files/package/ s3://gradio-lite-previews/${{ needs.changes.outputs.sha }}/ --recursive
|
||||
- name: Install Hub Client Library
|
||||
run: pip install huggingface-hub==0.23.2
|
||||
|
Loading…
x
Reference in New Issue
Block a user