mirror of
https://github.com/material-components/material-web.git
synced 2024-08-17 01:20:23 +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
|
||||
|
||||
name: Deploy to Firebase Hosting on PR
|
||||
'on': pull_request
|
||||
on:
|
||||
pull_request:
|
||||
types: [ labeled ]
|
||||
jobs:
|
||||
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
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
Loading…
Reference in New Issue
Block a user