Skip to content

Commit

Permalink
chore : deploy.yml μˆ˜μ •
Browse files Browse the repository at this point in the history
  • Loading branch information
JangYouJung committed Jun 10, 2024
1 parent d0c40d0 commit b94d711
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,18 @@ jobs:
- name: Deploy to development server
uses: Dylan700/sftp-upload-action@latest
with:
server: ${{secrets.DEV_SSH_HOST}}
username: ${{secrets.DEV_SSH_ID}}
password: ${{secrets.DEV_SSH_PASSWORD}}
server: ${{ secrets.DEV_SSH_HOST }}
username: ${{ secrets.DEV_SSH_ID }}
password: ${{ secrets.DEV_SSH_PASSWORD }}
port: 22
uploads: |
./build/libs/ => /root/apache-tomcat-10.1.24/build-target/
- name: Change old WAR to new WAR
uses: appleboy/[email protected]
with:
host: ${{secrets.DEV_SSH_HOST}}
username: ${{secrets.DEV_SSH_ID}}
password: ${{secrets.DEV_SSH_PASSWORD}}
host: ${{ secrets.DEV_SSH_HOST }}
username: ${{ secrets.DEV_SSH_ID }}
password: ${{ secrets.DEV_SSH_PASSWORD }}
port: 22
script: |
cd /root/apache-tomcat-10.1.24/webapps/
Expand Down

0 comments on commit b94d711

Please sign in to comment.