Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
anujdevopslearn authored Oct 21, 2023
1 parent 9085a51 commit f82bb6f
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,16 @@ jobs:
- name: Production Deployment
run: |
ls -lart
- name: scp ssh pipelines
uses: cross-the-world/ssh-scp-ssh-pipelines@latest
env:
LASTSSH: "Doing something after copying"
with:
host: ${{ secrets.DC_HOST }}
user: ${{ secrets.DC_USER }}
pass: ${{ secrets.DC_KEY }}
scp: |
./target/*.war => /tmp/
last_ssh: |
sudo cp /tmp/*.war /var/lib/tomcat9/webapps/
ls -la

0 comments on commit f82bb6f

Please sign in to comment.