Skip to content

Commit 0e8fedf

Browse files
workflows
1 parent 86e02b0 commit 0e8fedf

File tree

3 files changed

+70
-2
lines changed

3 files changed

+70
-2
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Generate DOKPLOY
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
id-token: write
8+
"on":
9+
workflow_dispatch:
10+
inputs:
11+
force:
12+
description: Force generation of SDKs
13+
type: boolean
14+
default: false
15+
set_version:
16+
description: optionally set a specific SDK version
17+
type: string
18+
schedule:
19+
- cron: 0 0 * * *
20+
pull_request:
21+
types:
22+
- labeled
23+
- unlabeled
24+
jobs:
25+
generate:
26+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
27+
with:
28+
force: ${{ github.event.inputs.force }}
29+
mode: pr
30+
set_version: ${{ github.event.inputs.set_version }}
31+
target: dokploy
32+
secrets:
33+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
34+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Generate TYPESCRIPT
2+
permissions:
3+
checks: write
4+
contents: write
5+
pull-requests: write
6+
statuses: write
7+
id-token: write
8+
"on":
9+
workflow_dispatch:
10+
inputs:
11+
force:
12+
description: Force generation of SDKs
13+
type: boolean
14+
default: false
15+
set_version:
16+
description: optionally set a specific SDK version
17+
type: string
18+
schedule:
19+
- cron: 0 0 * * *
20+
pull_request:
21+
types:
22+
- labeled
23+
- unlabeled
24+
jobs:
25+
generate:
26+
uses: speakeasy-api/sdk-generation-action/.github/workflows/workflow-executor.yaml@v15
27+
with:
28+
force: ${{ github.event.inputs.force }}
29+
mode: pr
30+
set_version: ${{ github.event.inputs.set_version }}
31+
target: typescript
32+
secrets:
33+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
34+
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}

.speakeasy/workflow.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ sources:
99
location: registry.speakeasyapi.dev/polariselabs/dokploy/dokploy-api
1010
targets:
1111
dokploy:
12-
target: ""
13-
source: ""
12+
target: typescript
13+
source: Dokploy API
1414
typescript:
1515
target: typescript
1616
source: Dokploy API

0 commit comments

Comments
 (0)