Skip to content

Commit 93e78a9

Browse files
fix: docs fixes and publish pipeline for 2.0.1.post1
Docs-only fixes (broken links, typos, syntax) and publish pipeline alignment for a 2.0.1.post1 PyPI release.
1 parent 8da1e18 commit 93e78a9

40 files changed

Lines changed: 1373 additions & 258 deletions

.github/workflows/run_example_scripts.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,5 +47,4 @@ jobs:
4747
uv pip install --system "$PACKAGE"
4848
./scripts/run_examples.sh
4949
env:
50-
MISTRAL_AGENT_ID: ${{ secrets.CI_AGENT_ID }}
5150
MISTRAL_API_KEY: ${{ env.MISTRAL_API_KEY }}

.github/workflows/sdk_publish_mistralai_sdk.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ permissions:
66
statuses: write
77
"on":
88
workflow_dispatch:
9+
inputs:
10+
confirm_publish:
11+
description: 'Type "publish" to confirm.'
12+
required: false
13+
type: string
914
push:
1015
branches:
1116
- main
@@ -14,7 +19,10 @@ permissions:
1419
- "*/RELEASES.md"
1520
jobs:
1621
publish:
17-
if: github.ref == 'refs/heads/main'
22+
# Auto-publish on push to main branch; require manual confirmation for workflow_dispatch
23+
if: |
24+
(github.event_name == 'push' && github.ref == 'refs/heads/main') ||
25+
(github.event_name == 'workflow_dispatch' && github.event.inputs.confirm_publish == 'publish')
1826
uses: speakeasy-api/sdk-generation-action/.github/workflows/sdk-publish.yaml@7951d9dce457425b900b2dd317253499d98c2587 # v15
1927
secrets:
2028
github_access_token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
**/.speakeasy/logs/
66
.vscode/
77
.speakeasy/reports
8-
README-PYPI.md
98
.venv/
109
pyrightconfig.json
1110
src/*.egg-info/

0 commit comments

Comments
 (0)