From 4cd03e5e9b12ccba86effaf484d1cd5655e495c1 Mon Sep 17 00:00:00 2001 From: dvirlabs Date: Tue, 17 Jun 2025 04:26:10 +0300 Subject: [PATCH] Fix pipeline and build the backend --- .woodpecker.yaml | 4 ++-- backend/main.py | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yaml b/.woodpecker.yaml index e8a7c2f..09ce3da 100644 --- a/.woodpecker.yaml +++ b/.woodpecker.yaml @@ -57,7 +57,7 @@ steps: - apk add --no-cache git yq - git config --global user.name "woodpecker-bot" - git config --global user.email "ci@dvirlabs.com" - - git clone "https://${GIT_USERNAME}:${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git" + - git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git" - cd my-apps - | if [ "$CI_COMMIT_BRANCH" = "develop" ]; then @@ -87,7 +87,7 @@ steps: - apk add --no-cache git yq - git config --global user.name "woodpecker-bot" - git config --global user.email "ci@dvirlabs.com" - - git clone "https://${GIT_USERNAME}:${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git" + - git clone "https://$${GIT_USERNAME}:$${GIT_TOKEN}@git.dvirlabs.com/dvirlabs/my-apps.git" - cd my-apps - | if [ "$CI_COMMIT_BRANCH" = "develop" ]; then diff --git a/backend/main.py b/backend/main.py index 21d4717..0f6b923 100644 --- a/backend/main.py +++ b/backend/main.py @@ -81,5 +81,6 @@ def list_icons(): return categories + if __name__ == "__main__": uvicorn.run(app, host="0.0.0.0", port=8000)