Fix chromatic CI trigger on run-chromatic label
This commit is contained in:
2
.github/workflows/ci-chromatic.yaml
vendored
2
.github/workflows/ci-chromatic.yaml
vendored
@ -8,7 +8,7 @@ on:
|
|||||||
types: [labeled]
|
types: [labeled]
|
||||||
jobs:
|
jobs:
|
||||||
chromatic-deployment:
|
chromatic-deployment:
|
||||||
if: ${{ contains(github.event.pull_request.labels.*.name, 'run-chromatic') }} || github.event_name == 'push' }}
|
if: contains(github.event.pull_request.labels.*.name, 'run-chromatic') || github.event_name == 'push'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
REACT_APP_SERVER_BASE_URL: http://127.0.0.1:3000
|
REACT_APP_SERVER_BASE_URL: http://127.0.0.1:3000
|
||||||
|
|||||||
Reference in New Issue
Block a user