-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8097205
commit 6976b55
Showing
1 changed file
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/ | ||
|