mirror of
https://github.com/material-components/material-web.git
synced 2024-09-11 13:46:10 +03:00
docs(ci): only run the catalog preview if the preview-catalog label is applied to the PR
PiperOrigin-RevId: 557592029
This commit is contained in:
parent
1530aca17d
commit
1444acfd29
@ -2,10 +2,12 @@
|
|||||||
# https://github.com/firebase/firebase-tools
|
# https://github.com/firebase/firebase-tools
|
||||||
|
|
||||||
name: Deploy to Firebase Hosting on PR
|
name: Deploy to Firebase Hosting on PR
|
||||||
'on': pull_request
|
on:
|
||||||
|
pull_request:
|
||||||
|
types: [ labeled ]
|
||||||
jobs:
|
jobs:
|
||||||
build_and_preview:
|
build_and_preview:
|
||||||
if: github.actor != 'release-please[bot]' && github.event.pull_request.head.repo.full_name == github.repository
|
if: github.event.label.name == 'preview-catalog' && github.event.pull_request.head.repo.full_name == github.repository
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
Loading…
Reference in New Issue
Block a user