mirror of
https://github.com/DeBrosOfficial/orama.git
synced 2026-06-17 00:14:13 +00:00
ci(workflow): restrict sdk publish to manual triggers or main branch releases
This commit is contained in:
parent
7c76790ad3
commit
59b4df976b
1
.github/workflows/publish-sdk.yml
vendored
1
.github/workflows/publish-sdk.yml
vendored
@ -20,6 +20,7 @@ jobs:
|
|||||||
publish:
|
publish:
|
||||||
name: Build & Publish @debros/orama
|
name: Build & Publish @debros/orama
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'workflow_dispatch' || github.event.release.target_commitish == 'main'
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: sdk
|
working-directory: sdk
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user