Skip to content

Commit

Permalink
ci/fix->workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-zip committed Jun 16, 2024
1 parent ba96cbf commit 240a985
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: bloggios-service-registry devsandbox
name: bloggios-service-registry

on:
push:
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 240a985

Please sign in to comment.