Merge branch 'main' into dev
This commit is contained in:
@@ -7,10 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on:
|
||||
- linux
|
||||
- ubuntu
|
||||
- macos
|
||||
runs-on: java-builders
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v6
|
||||
@@ -25,8 +22,11 @@ jobs:
|
||||
- name: Build with Maven
|
||||
run: mvn clean package
|
||||
|
||||
- name: List build directory
|
||||
run: ls -la build/
|
||||
|
||||
- name: Deploy to server via SSH
|
||||
uses: appleboy/ssh-action@v1.2.5
|
||||
uses: appleboy/scp-action@v1
|
||||
with:
|
||||
host: ${{ secrets.WSS_SSH_HOST }}
|
||||
username: ${{ secrets.WSS_SSH_USER }}
|
||||
@@ -35,6 +35,9 @@ jobs:
|
||||
source: "build/*"
|
||||
target: ${{ secrets.WSS_DEPLOY_PATH }}
|
||||
strip_components: 1
|
||||
rm: false
|
||||
debug: true
|
||||
flatten: true
|
||||
|
||||
- name: Restart Docker containers
|
||||
uses: appleboy/ssh-action@v1.2.5
|
||||
|
||||
Reference in New Issue
Block a user