Skip to content

Commit

Permalink
fix(ci): remove generate client from pr
Browse files Browse the repository at this point in the history
  • Loading branch information
zcabter committed Nov 18, 2024
1 parent 9ba5743 commit df811ca
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/generate-client.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Upload OpenAPI spec to Stainless

on:
push:
branches: [main]

jobs:
stainless:
concurrency: upload-openapi-spec-action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: stainless-api/upload-openapi-spec-action@main
with:
stainless_api_key: ${{ secrets.STAINLESS_API_KEY }}
input_path: "crates/jstz_node/openapi.json"
config_path: "crates/jstz_node/stainless.yml"
project_name: "jstz-client"
1 change: 0 additions & 1 deletion .github/workflows/generate-node-client.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: Upload OpenAPI spec to Stainless

on:
pull_request: # testing only
push:
branches: [main]

Expand Down

0 comments on commit df811ca

Please sign in to comment.