Skip to content

Commit

Permalink
ci/workflow-updated
Browse files Browse the repository at this point in the history
  • Loading branch information
rohit-zip committed Jun 22, 2024
1 parent d67cf68 commit 908ef11
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/load.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ jobs:
- name: Stopping Container
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.V8_HOST }}
username: ${{ secrets.V8_USERNAME }}
key: ${{ secrets.V8_VPS_PRIVATE_KEY }}
host: ${{ secrets.V4_HOST }}
username: ${{ secrets.V4_USERNAME }}
key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
port: 22
script: |
cd /root/bloggios-deployment-docker-files
Expand All @@ -47,9 +47,9 @@ jobs:
- name: Copying Logback
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.V8_HOST }}
username: ${{ secrets.V8_USERNAME }}
key: ${{ secrets.V8_VPS_PRIVATE_KEY }}
host: ${{ secrets.V4_HOST }}
username: ${{ secrets.V4_USERNAME }}
key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
port: 22
script: |
rm /root/microservices/bloggios-mail-service/src/main/resources/mail-logback.xml
Expand All @@ -58,9 +58,9 @@ jobs:
- name: Copying Secrets
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.V8_HOST }}
username: ${{ secrets.V8_USERNAME }}
key: ${{ secrets.V8_VPS_PRIVATE_KEY }}
host: ${{ secrets.V4_HOST }}
username: ${{ secrets.V4_USERNAME }}
key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
port: 22
script: |
set +e
Expand All @@ -71,9 +71,9 @@ jobs:
- name: Generating Docker Image for Bloggios
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.V8_HOST }}
username: ${{ secrets.V8_USERNAME }}
key: ${{ secrets.V8_VPS_PRIVATE_KEY }}
host: ${{ secrets.V4_HOST }}
username: ${{ secrets.V4_USERNAME }}
key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
port: 22
script: |
cd /root/microservices/bloggios-mail-service
Expand All @@ -85,9 +85,9 @@ jobs:
- name: Deploy Docker Image
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.V8_HOST }}
username: ${{ secrets.V8_USERNAME }}
key: ${{ secrets.V8_VPS_PRIVATE_KEY }}
host: ${{ secrets.V4_HOST }}
username: ${{ secrets.V4_USERNAME }}
key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
port: 22
script: |
cd /root/bloggios-deployment-docker-files
Expand All @@ -96,9 +96,9 @@ jobs:
- name: Removing Targets
uses: appleboy/ssh-action@master
with:
host: ${{ secrets.V8_HOST }}
username: ${{ secrets.V8_USERNAME }}
key: ${{ secrets.V8_VPS_PRIVATE_KEY }}
host: ${{ secrets.V4_HOST }}
username: ${{ secrets.V4_USERNAME }}
key: ${{ secrets.V4_VPS_PRIVATE_KEY }}
port: 22
script: |
cd /root/microservices/bloggios-mail-service
Expand Down

0 comments on commit 908ef11

Please sign in to comment.