Skip to content

Commit

Permalink
fix: CI repo secrete > env
Browse files Browse the repository at this point in the history
  • Loading branch information
fan9704 committed Sep 8, 2023
1 parent 20429bd commit 2d96c99
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/django-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Create env file
run: |
echo "${{ secrets.ENV_FILE }}" > .env
echo "${{ env.ENV_FILE }}" > .env
source .env
- name: Docker Compose Action
Expand Down Expand Up @@ -68,8 +68,8 @@ jobs:
- name: Sonarqube Scanning
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }}
SONAR_TOKEN: ${{ env.SONAR_TOKEN }}
SONAR_HOST_URL: ${{ env.SONAR_HOST_URL }}
EXTRA_ARGS: -Dsonar.coverageReportPaths=coverage.xml
# - name: DockerHub Login
# uses: docker/[email protected]
Expand Down

0 comments on commit 2d96c99

Please sign in to comment.