diff --git a/.github/workflows/update_challenge_progress.yml b/.github/workflows/update_challenge_progress.yml index eab84a7e..f9fa35b9 100644 --- a/.github/workflows/update_challenge_progress.yml +++ b/.github/workflows/update_challenge_progress.yml @@ -33,12 +33,13 @@ jobs: git push https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/AlgorithmStudy-Allumbus/codingtest_algorithm_study.git ${{ github.head_ref }} - name: Commit updated files - working-directory: _MonthlyChallenges run: | + cd _MonthlyChallenges git config --global user.name "${{ secrets.GIT_USER_NAME }}" git config --global user.email "${{ secrets.GIT_USER_EMAIL }}" git add scoreboard.json DASHBOARD.md HISTORY.md git commit -m "Update challenge progress dashboard" || echo "No changes to commit" + cd .. git remote set-url origin https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/AlgorithmStudy-Allumbus/codingtest_algorithm_study.git git push origin ${{ github.head_ref }} diff --git a/minjeong/test.txt b/minjeong/test.txt index e69de29b..30d74d25 100644 --- a/minjeong/test.txt +++ b/minjeong/test.txt @@ -0,0 +1 @@ +test \ No newline at end of file