diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 57b47e9..8dc4e00 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -5,8 +5,12 @@ run-name: ${{ gitea.actor }} is runs ci pipeline on: push: branches: [ "main" ] + paths: + - 'version' pull_request: branches: [ "main" ] + paths: + - 'version' # paths-ignore: # - LICENCE # - 'docs/**' diff --git a/blog_prj/settings.py b/blog_prj/settings.py index 87cd6ff..40c0524 100644 --- a/blog_prj/settings.py +++ b/blog_prj/settings.py @@ -191,10 +191,7 @@ WSGI_APPLICATION = 'blog_prj.wsgi.application' ISTIO_JWT = os.environ.get("ISTIO_JWT", "0") == "1" if ISTIO_JWT: - # RS256 모드 - # 운영환경에서 key파일은 POD mount로 적용하는게 안전 - with open(BASE_DIR / "keys/private.pem", "r") as f: - PRIVATE_KEY = f.read() + # RS256 모드 - verifier 역할이므로 public key만 로드 with open(BASE_DIR / "keys/public.pem", "r") as f: PUBLIC_KEY = f.read() diff --git a/version b/version index faa66db..8da573f 100644 --- a/version +++ b/version @@ -1 +1 @@ -v0.0.15 \ No newline at end of file +v0.0.16 \ No newline at end of file