Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mateus-lm authored Nov 6, 2023
1 parent 66c7704 commit 64a3db5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ 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
cd sindpol_docs_repo
git add .
git commit -m "Gerando métricas SonarCloud - ${{ github.event.repository.name }} ${{ github.ref_name }}"
git push
echo "Metrics File Generated Successfully."
echo "Metrics File Generated Successfully."

0 comments on commit 64a3db5

Please sign in to comment.