Skip to content

Commit

Permalink
refactor(ci): use variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Curve committed Dec 13, 2023
1 parent 59ab51b commit 31fa4ea
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,15 @@ jobs:
uses: sonarsource/[email protected]
env:
SONAR_TOKEN: ${{ secrets.SONARQUBE_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONARQUBE_HOST }}
SONAR_HOST_URL: ${{ vars.SONARQUBE_HOST }}

- name: 🤖 Sonar Summary
if: github.ref == 'refs/heads/main'
run: |
echo "### 🤖 Sonar Summary\n${{ secrets.SONARQUBE_HOST }}" >> $GITHUB_STEP_SUMMARY
{
echo "### 🤖 Sonar Summary"
echo "${{ vars.SONARQUBE_HOST }}"
} >> $GITHUB_STEP_SUMMARY
- name: 🧪 Integration Tests
run: |
Expand Down

0 comments on commit 31fa4ea

Please sign in to comment.