Browse Source

chore: dispatch action

Signed-off-by: mertmit <mertmit99@gmail.com>
pull/6289/head
mertmit 1 year ago
parent
commit
2a7e2f9796
  1. 20
      .github/workflows/dispatch-oss.yml

20
.github/workflows/dispatch-oss.yml

@ -0,0 +1,20 @@
name: "Dispatch OSS"
on:
workflow_dispatch:
push:
branches: [ develop ]
jobs:
push:
runs-on: ubuntu-latest
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'
})
Loading…
Cancel
Save