Skip to content

Commit

Permalink
실행되도 안바뀌는 이유는 뭐냐 아까 됐잖아!!!
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenPearls authored Aug 28, 2024
1 parent 52bc28d commit bd3a6c3
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/Rename and Commit Markdown Files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ on:
branches:
- main # main 브랜치에 푸시될 때 워크플로우 트리거
workflow_dispatch: # 수동으로 워크플로우를 실행할 수 있는 옵션
schedule:
- cron: '17 15 * * *' # 매일 오전 10시 40분에 실행

jobs:
process-markdown:
Expand All @@ -20,6 +18,10 @@ jobs:
fetch-depth: 0
ref: main

- name: Set UTF-8 Encoding
run: |
export LC_CTYPE="UTF-8" # UTF-8 인코딩을 명시적으로 설정
- name: Rename Markdown files
run: |
for file in developLog/*.md; do
Expand All @@ -40,7 +42,7 @@ jobs:
- name: Commit changes
run: |
git add .
git config user.email "[email protected]"
git config user.name "GoldenPearls"
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git commit -m "Rename Markdown files based on h1 titles"
git push origin main # 변경사항을 main 브랜치로 푸시
git push https://${{ secrets.GH_PAT }}@github.com/GoldenPearls/gitBook.git # 변경사항을 main 브랜치로 푸시

0 comments on commit bd3a6c3

Please sign in to comment.