From 1d63f9d1015eeba80fbc40c771cb30d8950640bd Mon Sep 17 00:00:00 2001 From: Faishal Nelwan <108632813+pesolosep@users.noreply.github.com> Date: Sat, 25 May 2024 21:26:36 +0700 Subject: [PATCH] [REFACTOR] implement monitoring too --- .github/workflows/ci.yml | 1 + .monitoring/docker-compose.yml => docker-compose.yml | 0 2 files changed, 1 insertion(+) rename .monitoring/docker-compose.yml => docker-compose.yml (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6f99d47..9196c35 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -124,6 +124,7 @@ jobs: - name: Deploy to GCP run: | + scp -o StrictHostKeyChecking=no -i ssh-key.pem -r ./.env ./docker-compose.yml ./monitoring ${{ secrets.GCP_USERNAME }}@${{ secrets.GCP_STATIC_IP }}:~/ ssh -o StrictHostKeyChecking=no -i ssh-key.pem ${{ secrets.GCP_USERNAME }}@${{ secrets.GCP_STATIC_IP }} " sudo docker container rm -f ${{ secrets.CONTAINER_NAME }} || true && sudo docker image rm -f ${{ secrets.REGISTRY_USER }}/${{ secrets.IMAGE_NAME }}:${{ secrets.IMAGE_TAG }} || true && diff --git a/.monitoring/docker-compose.yml b/docker-compose.yml similarity index 100% rename from .monitoring/docker-compose.yml rename to docker-compose.yml