Skip to content
Merged
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
11 changes: 4 additions & 7 deletions .github/workflows/jekyll-docker.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Build and Deploy to GitHub Pages

on:
push:
branches: [ "main" ]
workflow_run:
workflows: ["Translate new posts to English"]
types: [completed]
pull_request:
types: [closed]

# GitHub Pages에 배포하기 위한 권한 설정
permissions:
Expand All @@ -20,7 +17,7 @@ concurrency:

jobs:
build:
if: ${{ github.event_name == 'push' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
if: ${{ github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' }}
runs-on: ubuntu-latest

steps:
Expand All @@ -46,7 +43,7 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
if: ${{ github.event_name == 'push' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
if: ${{ github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main' }}

steps:
- name: Deploy to GitHub Pages
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/translate-to-english.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
name: Translate new posts to English

on:
pull_request_target:
types: [closed]
pull_request:
types: [opened, synchronize, reopened]

permissions:
contents: write

jobs:
translate:
if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'main'
runs-on: ubuntu-latest
steps:
- name: Checkout main
- name: Checkout PR branch
uses: actions/checkout@v4
with:
ref: main
ref: ${{ github.head_ref }}

- name: Get changed files from PR
id: changes
Expand Down
1 change: 0 additions & 1 deletion _posts/2025-07-03-actions-runner-controller.md
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,3 @@ docker run -it \
ARC를 사용하면 GitHub에서 제공하는 Runner를 사용할 때의 비싼 비용 문제와, 직접 VM을 관리하며 Runner를 운영할 때의 비효율성을 모두 해결할 수 있습니다. 특히 GPU가 필요하거나, 복잡한 의존성을 가진 MLOps CI/CD 환경을 구축할 때 ARC는 매우 강력한 도구가 됩니다.

초기 설정 과정이 다소 복잡하게 느껴질 수 있지만, 한번 구축해두면 CI/CD 비용을 크게 절감하고 운영 부담을 덜어주므로 MLOps를 고민하고 있다면 꼭 한번 도입을 검토해보시길 바랍니다.

Loading