forked from Yara724/api
Initial commit after migration to gitea
This commit is contained in:
13
build_n_deploy.sh
Normal file
13
build_n_deploy.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
git pull
|
||||
|
||||
docker compose -f dev.docker-compose.yml up -d --build
|
||||
|
||||
docker run --rm \
|
||||
-e SONAR_HOST_URL="https://sq.ittalie.ir" \
|
||||
-e SONAR_TOKEN="sqp_42fe574fde1e2d527813f4fb6912ad0040c6850a" \
|
||||
-v "$(pwd):/usr/src" \
|
||||
sonarsource/sonar-scanner-cli \
|
||||
-Dsonar.scm.provider=git \
|
||||
-Dsonar.projectKey=yara724-main-api \
|
||||
-Dsonar.sources=.
|
||||
|
||||
Reference in New Issue
Block a user