Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/deploy-on-merge.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ 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 인증 문제 방지
submodules: true # 서브모듈도 함께 체크아웃

# 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 파일을 저장할 위치
Expand All @@ -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 설치

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-on-push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@ 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 인증 문제 방지
submodules: true # 서브모듈도 함께 체크아웃

# 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 파일을 저장할 위치
Expand All @@ -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 설치

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy-on-schedule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ 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 인증 문제 방지
submodules: true # 서브모듈도 함께 체크아웃

# 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 파일을 저장할 위치
Expand All @@ -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 설치

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/merge-on-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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 → 전체 커밋 히스토리 가져오기
Expand Down