diff --git a/README.md b/README.md index 5c6caec..9d1e826 100644 --- a/README.md +++ b/README.md @@ -121,8 +121,12 @@ sudo chown ubuntu:ubuntu /opt/act_runner ```bash # 1. Gitea에서 Runner 등록 토큰 발급 -# Gitea > 저장소 Settings > Actions > Runners > "Create new Runner" 에서 토큰 복사 -# 또는 사이트 전역: Site Administration > Actions > Runners +# 방법 A) Web UI: Gitea > 저장소 Settings > Actions > Runners > "Create new Runner" +# 방법 B) API: +curl -sk -u "$GITEA_ADMIN_USER:$GITEA_ADMIN_PASSWORD" \ + -X GET "https://gitea.inje-private.com/api/v1/repos/selee/mlops-architecture/actions/runners/registration-token" \ + -H "Content-Type: application/json" +# → {"token":""} 응답에서 토큰 복사 # 2. Runner 등록 cd /opt/act_runner