Skip to content

Commit

Permalink
chore: deploy.yml을 수정하라
Browse files Browse the repository at this point in the history
  • Loading branch information
runasy-koonta authored Jun 10, 2024
1 parent 8097205 commit 6976b55
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,19 @@ 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 6976b55

Please sign in to comment.