Skip to content

Commit 603667a

Browse files
committed
fix: working-directory 대신 커밋/푸시 스텝을 리포지토리 루트에서 실행하도록 변경
1 parent 06c6246 commit 603667a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/update_challenge_progress.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ jobs:
3333
git push https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/AlgorithmStudy-Allumbus/codingtest_algorithm_study.git ${{ github.head_ref }}
3434

3535
- name: Commit updated files
36-
working-directory: _MonthlyChallenges
3736
run: |
37+
cd _MonthlyChallenges
3838
git config --global user.name "${{ secrets.GIT_USER_NAME }}"
3939
git config --global user.email "${{ secrets.GIT_USER_EMAIL }}"
4040
git add scoreboard.json DASHBOARD.md HISTORY.md
4141
git commit -m "Update challenge progress dashboard" || echo "No changes to commit"
42+
cd ..
4243
git remote set-url origin https://x-access-token:${{ secrets.PERSONAL_ACCESS_TOKEN }}@github.com/AlgorithmStudy-Allumbus/codingtest_algorithm_study.git
4344
git push origin ${{ github.head_ref }}
4445

0 commit comments

Comments
 (0)