From 240a9858a692567c0f2176f933746d224fa17835 Mon Sep 17 00:00:00 2001 From: Rohit Date: Sun, 16 Jun 2024 15:50:38 +0530 Subject: [PATCH] ci/fix->workflow --- .github/workflows/main.yml | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 0a9f6af..721350e 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,4 +1,4 @@ -name: bloggios-service-registry devsandbox +name: bloggios-service-registry on: push: @@ -32,9 +32,9 @@ jobs: - name: Stopping Container uses: appleboy/ssh-action@master with: - host: ${{ secrets.V4_HOST }} - username: ${{ secrets.V4_USERNAME }} - key: ${{ secrets.V4_VPS_PRIVATE_KEY }} + host: ${{ secrets.V8_HOST }} + username: ${{ secrets.V8_USERNAME }} + key: ${{ secrets.V8_VPS_PRIVATE_KEY }} port: 22 script: | cd /root/bloggios-deployment-docker-files @@ -48,9 +48,9 @@ jobs: - name: Copying Logback uses: appleboy/ssh-action@master with: - host: ${{ secrets.V4_HOST }} - username: ${{ secrets.V4_USERNAME }} - key: ${{ secrets.V4_VPS_PRIVATE_KEY }} + host: ${{ secrets.V8_HOST }} + username: ${{ secrets.V8_USERNAME }} + key: ${{ secrets.V8_VPS_PRIVATE_KEY }} port: 22 script: | rm /root/microservices/bloggios-service-registry/src/main/resources/registry-logback.xml @@ -59,9 +59,9 @@ jobs: - name: Generating Docker Image for Bloggios uses: appleboy/ssh-action@master with: - host: ${{ secrets.V4_HOST }} - username: ${{ secrets.V4_USERNAME }} - key: ${{ secrets.V4_VPS_PRIVATE_KEY }} + host: ${{ secrets.V8_HOST }} + username: ${{ secrets.V8_USERNAME }} + key: ${{ secrets.V8_VPS_PRIVATE_KEY }} port: 22 script: | cd /root/microservices/bloggios-service-registry @@ -73,9 +73,9 @@ jobs: - name: Deploy Docker Image uses: appleboy/ssh-action@master with: - host: ${{ secrets.V4_HOST }} - username: ${{ secrets.V4_USERNAME }} - key: ${{ secrets.V4_VPS_PRIVATE_KEY }} + host: ${{ secrets.V8_HOST }} + username: ${{ secrets.V8_USERNAME }} + key: ${{ secrets.V8_VPS_PRIVATE_KEY }} port: 22 script: | cd /root/bloggios-deployment-docker-files @@ -84,9 +84,9 @@ jobs: - name: Removing Targets uses: appleboy/ssh-action@master with: - host: ${{ secrets.V4_HOST }} - username: ${{ secrets.V4_USERNAME }} - key: ${{ secrets.V4_VPS_PRIVATE_KEY }} + host: ${{ secrets.V8_HOST }} + username: ${{ secrets.V8_USERNAME }} + key: ${{ secrets.V8_VPS_PRIVATE_KEY }} port: 22 script: | cd /root/microservices/bloggios-service-registry