diff --git a/.woodpecker.yaml b/.woodpecker.yaml index 59b401d..026e078 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -1,5 +1,3 @@ -environment: - IMAGE_TAG: ${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:7} steps: build-frontend: @@ -16,7 +14,7 @@ steps: context: frontend tags: - latest - - ${IMAGE_TAG} + - ${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:7} username: from_secret: DOCKER_USERNAME password: @@ -36,7 +34,7 @@ steps: context: backend tags: - latest - - ${IMAGE_TAG} + - ${CI_COMMIT_BRANCH}-${CI_COMMIT_SHA:0:7} username: from_secret: DOCKER_USERNAME password: diff --git a/backend/main.py b/backend/main.py index 21d4717..2687ccb 100644 --- a/backend/main.py +++ b/backend/main.py @@ -24,7 +24,7 @@ DATA_FILE = "diagram.json" @app.get("/") def root(): - return {"message": "Check if the server is running"} + return {"message": "Check if the API is running"} @app.get("/diagram/fetch") def fetch_diagram(): diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 30a168e..535e505 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -4,4 +4,4 @@ function App() { return ; } -export default App; +export default App; \ No newline at end of file