diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7392d6e..8b689a6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -30,6 +30,5 @@ jobs: git config --local user.name "GitHub Action" git add README.md git commit -m "Update coverage badge" -a - git push origin HEAD:main - env: - GH_PAT: ${{ secrets.GH_PAT }} \ No newline at end of file + git remote set-url origin https://x-access-token:${{ secrets.GH_PAT }}@github.com/deveshsangwan/cricketScoreApi.git + git push origin HEAD:main \ No newline at end of file