Skip to content

Commit

Permalink
Merge pull request #3 from mfbx9da4/patch-1
Browse files Browse the repository at this point in the history
Add code samples, needed for Mintlify integration
  • Loading branch information
tatarco authored Jun 17, 2024
2 parents 1ba07e4 + 27b69e8 commit e78316f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
14 changes: 14 additions & 0 deletions .github/workflows/sdk_tagging.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Tag
on:
push:
branches:
- main

jobs:
tag:
uses: speakeasy-api/sdk-generation-action/.github/workflows/tag.yaml@v15
with:
registry_tags: main
secrets:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
speakeasy_api_key: ${{ secrets.SPEAKEASY_API_KEY }}
8 changes: 6 additions & 2 deletions .speakeasy/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ speakeasyVersion: latest
sources:
json-development:
inputs:
# - location: http://api.novu.co/openapi.sdk.json
- location: ./sources/openapi.sdk.json
- location: http://api.novu.co/openapi.sdk.json
# - location: ./sources/openapi.sdk.json
overlays:
- location: ./sources/remove-headers-overlay.yaml
registry:
Expand All @@ -13,6 +13,10 @@ targets:
my-first-target:
target: typescript
source: json-development
codeSamples:
output: codeSamples.yaml
registry:
location: registry.speakeasyapi.dev/novu/novu/code-samples-typescript
publish:
npm:
token: $npm_token

0 comments on commit e78316f

Please sign in to comment.