From 1ce38387edb3540283fa501a5212595e1ebd666b Mon Sep 17 00:00:00 2001 From: Ahn Jiwan Date: Fri, 3 Nov 2023 00:26:15 +0900 Subject: [PATCH] :construction_worker: feat: add cicd for kubernetes --- .github/workflows/baekjoon_bot_cicd.yml | 2 +- k8s/kustomization.yaml | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 k8s/kustomization.yaml diff --git a/.github/workflows/baekjoon_bot_cicd.yml b/.github/workflows/baekjoon_bot_cicd.yml index 2c357ab..07c876a 100644 --- a/.github/workflows/baekjoon_bot_cicd.yml +++ b/.github/workflows/baekjoon_bot_cicd.yml @@ -80,7 +80,7 @@ jobs: - name: Commit and push the updated manifest run: | - cd fam-Story_Backend + cd baekjoon-discord-bot git config --global user.name 'github-actions' git config --global user.email 'github-actions@github.com' git commit -am ":construction_worker: chore: Update deployment to ${{ github.sha }}" diff --git a/k8s/kustomization.yaml b/k8s/kustomization.yaml new file mode 100644 index 0000000..17c5c79 --- /dev/null +++ b/k8s/kustomization.yaml @@ -0,0 +1,6 @@ +apiVersion: kustomize.config.k8s.io/v1beta1 +kind: Kustomization +resources: +- manifest.yaml +images: +- name: synoti21/baekjoon-bot