diff --git a/.github/workflows/deploy-on-merge.yaml b/.github/workflows/deploy-on-merge.yaml index 2ee6ce0a3..46ab245aa 100644 --- a/.github/workflows/deploy-on-merge.yaml +++ b/.github/workflows/deploy-on-merge.yaml @@ -17,7 +17,7 @@ jobs: # Step 1. Hugo 프로젝트가 있는 hugo-project 브랜치 체크아웃 - name: Checkout the hugo-project branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: hugo-project # hugo 프로젝트가 위치한 브랜치 persist-credentials: false # GitHub 인증 문제 방지 @@ -25,7 +25,7 @@ jobs: # Step 2. main 브랜치에서 markdown 파일들만 체크아웃 - name: Checkout the main branch for markdown files - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: main # main 브랜치에서 파일 가져오기 path: main-md # 임시로 main 브랜치의 markdown 파일을 저장할 위치 @@ -38,7 +38,7 @@ jobs: # Step 4. Node.js 설치 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18' # 안정적인 최신 버전의 Node.js 설치 diff --git a/.github/workflows/deploy-on-push.yaml b/.github/workflows/deploy-on-push.yaml index 365960983..462a9b13d 100644 --- a/.github/workflows/deploy-on-push.yaml +++ b/.github/workflows/deploy-on-push.yaml @@ -13,7 +13,7 @@ jobs: # Step 1. Hugo 프로젝트가 있는 hugo-project 브랜치 체크아웃 - name: Checkout the hugo-project branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: hugo-project # hugo 프로젝트가 위치한 브랜치 persist-credentials: false # GitHub 인증 문제 방지 @@ -21,7 +21,7 @@ jobs: # Step 2. main 브랜치에서 markdown 파일들만 체크아웃 - name: Checkout the main branch for markdown files - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: main # main 브랜치에서 파일 가져오기 path: main-md # 임시로 main 브랜치의 markdown 파일을 저장할 위치 @@ -34,7 +34,7 @@ jobs: # Step 4. Node.js 설치 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18' # 안정적인 최신 버전의 Node.js 설치 diff --git a/.github/workflows/deploy-on-schedule.yaml b/.github/workflows/deploy-on-schedule.yaml index 0e17e7b47..95e725a50 100644 --- a/.github/workflows/deploy-on-schedule.yaml +++ b/.github/workflows/deploy-on-schedule.yaml @@ -22,7 +22,7 @@ jobs: # Step 1. Hugo 프로젝트가 있는 hugo-project 브랜치 체크아웃 - name: Checkout the hugo-project branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: hugo-project # hugo 프로젝트가 위치한 브랜치 persist-credentials: false # GitHub 인증 문제 방지 @@ -30,7 +30,7 @@ jobs: # Step 2. main 브랜치에서 markdown 파일들만 체크아웃 - name: Checkout the main branch for markdown files - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: main # main 브랜치에서 파일 가져오기 path: main-md # 임시로 main 브랜치의 markdown 파일을 저장할 위치 @@ -43,7 +43,7 @@ jobs: # Step 4. Node.js 설치 - name: Install Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: '18' # 안정적인 최신 버전의 Node.js 설치 diff --git a/.github/workflows/merge-on-pr.yaml b/.github/workflows/merge-on-pr.yaml index 1bf0c8fad..39729bfd1 100644 --- a/.github/workflows/merge-on-pr.yaml +++ b/.github/workflows/merge-on-pr.yaml @@ -48,7 +48,7 @@ jobs: # Step 1. Base Repository의 main 브랜치를 체크아웃 - name: Checkout the main branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: main # 체크아웃 대상 브랜ㅊ; : main fetch-depth: 0 # 깊이 0 → 전체 커밋 히스토리 가져오기