Skip to content

Commit 8d434dc

Browse files
Remove rollback step from deployment workflow and adjust script section in pyproject.toml for clarity
1 parent 68ac919 commit 8d434dc

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/deploy.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,12 +99,6 @@ jobs:
9999
--all-containers=true \
100100
--prefix=true || echo "Could not fetch logs"
101101
102-
- name: Rollback on failure
103-
if: failure()
104-
run: |
105-
echo "Rolling back deployment"
106-
kubectl rollout undo deployment/${{ matrix.service.deployment }} -n ${{ env.NAMESPACE }}
107-
108102
- name: Deployment Summary
109103
if: always()
110104
run: |

DocsManager/pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ description = "Add your description here"
55
readme = "README.md"
66
requires-python = ">=3.12,<3.14"
77

8-
[project.scripts]
9-
start = "uvicorn main:app --reload --host 0.0.0.0 --port 8000"
10-
118
dependencies = [
129
"fastapi>=0.124.2",
1310
"sqlalchemy>=2.0.35",
@@ -22,6 +19,9 @@ dependencies = [
2219
"sqlalchemy>=2.0.0"
2320
]
2421

22+
[project.scripts]
23+
start = "uvicorn main:app --reload --host 0.0.0.0 --port 8000"
24+
2525
[project.optional-dependencies]
2626
dev = [
2727
"ruff>=0.14.0",

0 commit comments

Comments
 (0)