Skip to content

Commit

Permalink
이전 스텝에서 정의한 변수들은 다음 스텝으로 전달되지 않는다는 것 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
GoldenPearls authored Sep 27, 2024
1 parent 026b293 commit d64c380
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/Rename and Commit Markdown Files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
jobs:
process-markdown:
runs-on: ubuntu-latest
env:
destination_directory: koreanPageTitle # 환경 변수로 선언

steps:
- name: Checkout repository
Expand All @@ -24,7 +26,7 @@ jobs:
- name: Rename Folders Based on README H1 and Copy Markdown Files
run: |
# 목적지 디렉토리 설정
destination_directory="koreanPageTitle"
destination_directory="${destination_directory}"
# README.md 파일을 찾아서 디렉토리 이름 변경
find developLog -type f -name 'README.md' | while read file; do
Expand Down Expand Up @@ -104,6 +106,9 @@ jobs:
- name: Commit changes in koreanPageTitle branch
run: |
# 목적지 디렉토리 설정
destination_directory="${destination_directory}"
# Git 사용자 설정 (이미 설정되어 있다면 생략 가능)
git config user.name 'GoldenPearls'
git config user.email 'prettylee620@naver.com'
Expand Down

0 comments on commit d64c380

Please sign in to comment.