mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-13 11:57:29 +08:00
Ci website (#9058)
* tweaks * more fix * changes * changes * storybook fix
This commit is contained in:
parent
f4cb8cf51c
commit
7a1e223c34
6
.github/workflows/storybook-deploy.yml
vendored
6
.github/workflows/storybook-deploy.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
comment-chromatic-start:
|
||||
uses: "./.github/workflows/comment-queue.yml"
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.should_run == 'true' }}
|
||||
if: needs.changes.outputs.should_run == 'true' || contains(needs.changes.outputs.labels, 'no-visual-update')
|
||||
secrets:
|
||||
gh_token: ${{ secrets.COMMENT_TOKEN }}
|
||||
with:
|
||||
@ -54,7 +54,7 @@ jobs:
|
||||
statuses: write
|
||||
runs-on: ubuntu-latest
|
||||
needs: changes
|
||||
if: ${{ (needs.changes.outputs.should_run == 'false' || contains(needs.changes.outputs.labels, 'no-visual-update')) }}
|
||||
if: needs.changes.outputs.should_run == 'false' || contains(needs.changes.outputs.labels, 'no-visual-update')
|
||||
steps:
|
||||
- name: update status
|
||||
uses: gradio-app/github/actions/set-commit-status@main
|
||||
@ -70,7 +70,7 @@ jobs:
|
||||
environment: storybook
|
||||
name: "storybook-deploy"
|
||||
needs: changes
|
||||
if: ${{ needs.changes.outputs.should_run == 'true' && github.repository == 'gradio-app/gradio' && !contains(needs.changes.outputs.labels, 'no-visual-update') }}
|
||||
if: needs.changes.outputs.should_run == 'true' && github.repository == 'gradio-app/gradio' && !contains(needs.changes.outputs.labels, 'no-visual-update')
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
changes: ${{ steps.publish-chromatic.outputs.changeCount }}
|
||||
|
Loading…
Reference in New Issue
Block a user