Skip to content

Commit

Permalink
Update build_deploy_qa.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
vertigo17 authored Aug 8, 2023
1 parent 61c6c5b commit 42b3374
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/build_deploy_qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ jobs:
cache: maven
- name: Build with Maven
env:
source: 'target/*.war'
source-war: 'target/*.war'
source-zip: 'target/*.zip'
destination: '[email protected]:/opt/delivery/'
run: |
cd source
Expand All @@ -34,5 +35,8 @@ jobs:
chmod 600 ./deploy_key
sudo rsync -chav \
-e 'ssh -i ./deploy_key -o StrictHostKeyChecking=no' \
${{env.source}} ${{env.destination}}
ssh debian@[email protected] "/opt/bin/deployQA.sh /opt/delivery/cerberus-core-4.17-SNAPSHOT.war"
${{env.source-war}} ${{env.destination}}
sudo rsync -chav \
-e 'ssh -i ./deploy_key -o StrictHostKeyChecking=no' \
${{env.source-zip}} ${{env.destination}}
ssh -i ./deploy_key -o StrictHostKeyChecking=no [email protected] "/opt/bin/deployQA.sh /opt/delivery/cerberus-core-4.17-SNAPSHOT.war"

0 comments on commit 42b3374

Please sign in to comment.