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 16, 2024
1 parent c67f7bc commit 9d22716
Showing 1 changed file with 19 additions and 19 deletions.
38 changes: 19 additions & 19 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: bloggios-mail-service devsandbox
name: bloggios-mail-service

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-mail-service/src/main/resources/mail-logback.xml
Expand All @@ -59,9 +59,9 @@ jobs:
- name: Copying Secrets
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: |
set +e
Expand All @@ -72,9 +72,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-mail-service
Expand All @@ -86,9 +86,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 @@ -97,9 +97,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-mail-service
Expand Down

0 comments on commit 9d22716

Please sign in to comment.