Skip to content

Commit e6ff8be

Browse files
ci: add workflow for generating sdk
1 parent c421630 commit e6ff8be

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

.genignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
node_modules/
1+
node_modules/
2+
.github/
3+
.github/

.github/workflows/generation.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Generate
2+
3+
on:
4+
workflow_dispatch: {}
5+
schedule:
6+
- cron: 0 0 * * *
7+
8+
jobs:
9+
generate:
10+
name: Generate SDK
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: speakeasy-api/sdk-generation-action@v1.4
14+
with:
15+
speakeasy_version: latest
16+
openapi_doc_location: https://docs.speakeasyapi.dev/openapi.yaml
17+
github_access_token: ${{ secrets.GITHUB_TOKEN }}
18+
languages: |-
19+
- typescript

0 commit comments

Comments
 (0)