mirror of
https://github.com/nocodb/nocodb.git
synced 2026-02-01 23:48:33 +00:00
* chore: update runner os to ubuntu-22.04 Signed-off-by: Pranav C <pranavxc@gmail.com> * docs: formatting Signed-off-by: Pranav C <pranavxc@gmail.com> --------- Signed-off-by: Pranav C <pranavxc@gmail.com>
24 lines
515 B
YAML
24 lines
515 B
YAML
name: "Dispatch OSS"
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches: [ develop ]
|
|
|
|
jobs:
|
|
push:
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/github-script@v6
|
|
with:
|
|
github-token: ${{ secrets.OSS_DISPATCH }}
|
|
script: |
|
|
const result = await github.rest.repos.createDispatchEvent({
|
|
owner: 'nocodb',
|
|
repo: 'nocohub',
|
|
event_type: 'OSS',
|
|
client_payload: {
|
|
push: ${{ toJSON(github.event) }}
|
|
}
|
|
})
|