Skip to content

Commit

Permalink
fixup! ci: Add github action to update openapi.json
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-jones-dev committed Jun 27, 2024
1 parent 17d3ccb commit 89a7afd
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/update_openapi_json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
python -m pip install --upgrade pip
python -m pip install poetry
poetry install
python convert_to_json.py ../openapi.yaml ../openapi.json
poetry run convert_to_json ../openapi.yaml ../openapi.json
- name: Commit result
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down
File renamed without changes.
8 changes: 4 additions & 4 deletions scripts/pyproject.toml → python/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
[tool.poetry]
name = "deepl_openapi"
name = "scripts"
package-mode = false
description = "DeepL OpenAPI specification and associated scripts"
version = "0.1.0"
authors = ["DeepL SE <[email protected]>"]
license = "MIT"
readme = "README.md"

[tool.poetry.scripts]
convert_to_json = "scripts.convert_to_json:main"

[tool.poetry.dependencies]
python = ">=3.7"
Expand Down
File renamed without changes.

0 comments on commit 89a7afd

Please sign in to comment.