diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c53845a..ec33ce1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,8 +21,8 @@ jobs: - name: Commit Metrics SonarCloud File run: | - git config --global user.email "${{ secrets.USER_EMAIL }}" - git config --global user.name "${{ secrets.USER_USERNAME }}" + git config --global user.email "${{ secrets.GIT_USER_EMAIL }}" + git config --global user.name "${{ secrets.GIT_USER_NAME }}" git clone --single-branch --branch main "https://x-access-token:${{secrets.API_TOKEN_GITHUB}}@github.com/fga-eps-mds/2023.2-SINDPOL-DOC" sindpol_docs_repo mkdir -p sindpol_docs_repo/analytics-raw-data cp -R analytics-raw-data/*.json sindpol_docs_repo/analytics-raw-data @@ -30,4 +30,4 @@ jobs: git add . git commit -m "Gerando métricas SonarCloud - ${{ github.event.repository.name }} ${{ github.ref_name }}" git push - echo "Metrics File Generated Successfully." \ No newline at end of file + echo "Metrics File Generated Successfully."