Some checks failed
📦 Build / build (push) Has been cancelled
🧪 CI Test / test shard (1/4) (push) Has been cancelled
🧪 CI Test / test shard (2/4) (push) Has been cancelled
🧪 CI Test / test shard (3/4) (push) Has been cancelled
🧪 CI Test / test shard (4/4) (push) Has been cancelled
🧪 CI Test / test (push) Has been cancelled
🧪 CI Test / eslint (push) Has been cancelled
🧪 CI Test / typecheck (push) Has been cancelled
🔫 Sync to Pro / dispatch-sync (push) Has been cancelled
🔮 Sync Mirror / sync (push) Has been cancelled
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 }}"
|
|
}
|