This commit is contained in:
pngwn 2023-08-11 19:41:12 +01:00 committed by GitHub
parent 4d41f8d3d9
commit 7d884a98ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View File

@ -21,12 +21,14 @@ jobs:
source_repo: ${{ steps.pr_details.outputs.source_repo }}
source_branch: ${{ steps.pr_details.outputs.source_branch }}
steps:
- name: echo concurrency group
run: echo ${{ github.event.workflow_run.head_repository.full_name }}::${{ github.event.workflow_run.head_branch }}
- name: get pr details
id: pr_details
uses: gradio-app/github/actions/find-pr@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
comment-chromatic-start:
comment-changes-start:
uses: "./.github/workflows/comment-queue.yml"
needs: get-pr
secrets:
@ -57,6 +59,7 @@ jobs:
github_token: ${{ secrets.COMMENT_TOKEN }}
main_pkg: gradio
pr_number: ${{ needs.get-pr.outputs.pr_number }}
branch_name: ${{ needs.get-pr.outputs.source_branch }}
comment-changes-skipped:
uses: "./.github/workflows/comment-queue.yml"
needs: [get-pr, version]

View File

@ -59,7 +59,7 @@ jobs:
export AWS_ACCESS_KEY_ID=${{ secrets.AWSACCESSKEYID }}
export AWS_SECRET_ACCESS_KEY=${{ secrets.AWSSECRETKEY }}
export AWS_DEFAULT_REGION=us-west-2
version=$(sed -nr "s/{\"version\":\s\"([0-9\.]+)\"}/\1/p" ./js/_website/src/lib/json/version.json)
version=$(jq .version js/_website/src/lib/json/version.json)
aws s3 cp ./js/_website/src/lib/json/ s3://gradio-docs-json/$version/ --recursive
- name: install outbreak_forecast dependencies
run: |