diff --git a/.drone.yml b/.drone.yml index c48c797..2368aae 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,6 +3,18 @@ type: docker name: default steps: + - name: SonarQube Scan + image: sonarsource/sonar-scanner-cli + environment: + SONAR_HOST_URL: + from_secret: SCANNER_HOST_URL + SONAR_LOGIN: + from_secret: SCANNER_LOGIN + SONAR_TOKEN: + from_secret: SCANNER_TOKEN + commands: + - sonar-scanner -Dsonar.projectKey=gitea/opengis -Dsonar.login=$SONAR_LOGIN -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.token=$SONAR_TOKEN + - name: Deploy to Server image: curlimages/curl:latest environment: diff --git a/src/App.jsx b/src/App.jsx index 59b6098..a14f657 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -2,7 +2,7 @@ function App() { return (