Fix pipeline and build the backend
This commit is contained in:
parent
481010b76b
commit
409f2c0216
@ -82,6 +82,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"
|
||||
- cd my-apps
|
||||
- |
|
||||
TAG=$([[ "$CI_COMMIT_BRANCH" == "develop" ]] && echo "develop-${CI_BUILD_NUMBER}" || echo "${CI_COMMIT_SHA:0:7}")
|
||||
|
||||
@ -81,5 +81,6 @@ def list_icons():
|
||||
return categories
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
uvicorn.run(app, host="0.0.0.0", port=8000)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user