diff --git a/.github/workflows/sonar.yml b/.github/workflows/sonar.yml index 318de93..b4468e5 100644 --- a/.github/workflows/sonar.yml +++ b/.github/workflows/sonar.yml @@ -34,6 +34,11 @@ jobs: # continue-on-error: true # env: # CI: true + - name: SonarQube Scan + uses: SonarSource/sonarqube-scan-action@v6 + env: + SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} - name: Build site env: NITRO_PRESET: node_cluster @@ -45,11 +50,6 @@ jobs: path: .output/ overwrite: true include-hidden-files: true - #- name: SonarQube Scan - # uses: SonarSource/sonarqube-scan-action@v6 - # env: - # SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - # docker-work: name: Docker stuff needs: sonarqube diff --git a/sonar-project.properties b/sonar-project.properties index f3143a7..1c80e34 100644 --- a/sonar-project.properties +++ b/sonar-project.properties @@ -1,5 +1,6 @@ -sonar.projectKey=lburcusel_glowing-fiesta -sonar.organization=lburcusel +# sonar.projectKey=lburcusel_glowing-fiesta +# sonar.organization=lburcusel +sonar.projectKey=GF sonar.projectName=Glowing Fiesta sonar.projectVersion=1.0.0