Skip to content

Commit

Permalink
Update reports-api-cd.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sumesh-aot authored Mar 30, 2022
1 parent 9f0b46a commit 0f7b226
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/reports-api-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,19 @@ env:
APP_NAME: eao-project-reports-api

jobs:
sonar-scan:
if: github.event_name == 'push' && github.repository == 'bcgov/eao-project-reports'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
build-and-push-image-to-ghcr:
needs: sonar-scan
if: github.event_name == 'push' && github.repository == 'bcgov/eao-project-reports'
runs-on: ubuntu-latest
strategy:
Expand Down

0 comments on commit 0f7b226

Please sign in to comment.