From b5fd19dc95c514b9f49ff063a1f03a225ff370ee Mon Sep 17 00:00:00 2001 From: sominyun <128496121+sominyun@users.noreply.github.com> Date: Tue, 25 Jun 2024 01:05:36 +0900 Subject: [PATCH 1/2] Update dev_deploy.yml --- .github/workflows/dev_deploy.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/dev_deploy.yml b/.github/workflows/dev_deploy.yml index cf8e7a9..001d87f 100644 --- a/.github/workflows/dev_deploy.yml +++ b/.github/workflows/dev_deploy.yml @@ -97,9 +97,9 @@ jobs: - name: config environment uses: appleboy/ssh-action@master with: - host: ${{ secrets.NCP_HOST }} - username: ${{ secrets.NCP_USERNAME }} - key: ${{ secrets.NCP_SSH_KEY }} + host: ${{ secrets.OCI_HOST }} + username: ${{ secrets.OCI_USERNAME }} + key: ${{ secrets.OCI_SSH_KEY }} script: | sudo rm -rf .env touch .env @@ -134,9 +134,9 @@ jobs: DOCKER_PASSWORD: ${{ secrets.DOCKER_PASSWORD }} IMAGE_NAME: ${{ secrets.IMAGE_NAME }} with: - host: ${{ secrets.NCP_HOST }} - username: ${{ secrets.NCP_USERNAME }} - key: ${{ secrets.NCP_SSH_KEY }} + host: ${{ secrets.OCI_HOST }} + username: ${{ secrets.OCI_USERNAME }} + key: ${{ secrets.OCI_SSH_KEY }} envs: VERSION, DOCKER_REGISTRY, DOCKER_USERNAME, DOCKER_PASSWORD, IMAGE_NAME script: | echo "new application version is $VERSION" From aac8b0e150921ec33c5d26a0a2e1bfd2ab94d4a8 Mon Sep 17 00:00:00 2001 From: sominyun Date: Tue, 25 Jun 2024 01:08:43 +0900 Subject: [PATCH 2/2] =?UTF-8?q?fix:=20docker=5Fcompse=5Fdeploy=20=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/docker_compose_deploy.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docker_compose_deploy.yml b/.github/workflows/docker_compose_deploy.yml index f0ff899..9820b97 100644 --- a/.github/workflows/docker_compose_deploy.yml +++ b/.github/workflows/docker_compose_deploy.yml @@ -17,8 +17,8 @@ jobs: - name: copy docker compose file uses: appleboy/scp-action@master with: - host: ${{ secrets.NCP_HOST }} - username: ${{ secrets.NCP_USERNAME }} + host: ${{ secrets.OCI_HOST }} + username: ${{ secrets.OCI_USERNAME }} source: ".deploy/docker-compose.yml" target: "/root" strip_components: 2