Skip to content

ui: Migrate components: Tag, Statistic, Space, Row to redpanda ui equ… #859

ui: Migrate components: Tag, Statistic, Space, Row to redpanda ui equ…

ui: Migrate components: Tag, Statistic, Space, Row to redpanda ui equ… #859

name: Repository dispatch on push or release
on:
push:
paths:
- "frontend/**"
- "backend/**"
tags:
- '*'
branches:
- '**'
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Repository Dispatch on Release
uses: peter-evans/repository-dispatch@caebe2a7c967e9f927ff8780fea8e16e50b5ce40
if: ${{ startsWith(github.ref, 'refs/tags/v') }}
with:
token: ${{ secrets.VBOT_GITHUB_API_TOKEN }}
repository: redpanda-data/console-enterprise
event-type: release
client-payload: '{"branch": "master", "commit_sha": "${{ github.sha }}", "tag_name": "${{ github.event.release.tag_name }}"}'
- name: Repository Dispatch on push
uses: peter-evans/repository-dispatch@caebe2a7c967e9f927ff8780fea8e16e50b5ce40
if: ${{ !startsWith(github.ref, 'refs/tags/v') }}
with:
token: ${{ secrets.VBOT_GITHUB_API_TOKEN }}
repository: redpanda-data/console-enterprise
event-type: push
client-payload: '{"branch": "${{ github.ref_name }}", "commit_sha": "${{ github.sha }}"}'