mirror of
https://github.com/dream-num/univer.git
synced 2026-10-02 04:24:34 +08:00
25 lines
667 B
YAML
25 lines
667 B
YAML
name: 🔫 Sync to Pro
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- dev
|
|
|
|
jobs:
|
|
dispatch-sync:
|
|
if: github.repository == 'dream-num/univer'
|
|
runs-on: minimum-runner
|
|
|
|
steps:
|
|
- name: Dispatch sync event to univer-pro
|
|
uses: peter-evans/repository-dispatch@v4
|
|
with:
|
|
repository: dream-num/univer-pro
|
|
token: ${{ secrets.GH_TOKEN }}
|
|
event-type: sync-univer
|
|
client-payload: >
|
|
{
|
|
"ref": "${{ github.ref_name }}",
|
|
"sha": "${{ github.sha }}"
|
|
}
|