mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-26 18:58:37 +08:00 
			
		
		
		
	ci: 修复 Action Copy 错误
This commit is contained in:
		
							
								
								
									
										7
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								.github/workflows/deploy.yml
									
									
									
									
										vendored
									
									
								
							| @@ -29,14 +29,15 @@ jobs: | ||||
|           mvn -B package --file pom.xml | ||||
|       # 4、拷贝到服务器 | ||||
|       - name: Copy | ||||
|         uses: garygrossgarten/github-action-scp@release | ||||
|         uses: appleboy/scp-action@v0.1.7 | ||||
|         with: | ||||
|           host: ${{ secrets.SERVER_HOST }} | ||||
|           port: ${{ secrets.SERVER_PORT }} | ||||
|           username: ${{ secrets.SERVER_USERNAME }} | ||||
|           password: ${{ secrets.SERVER_PASSWORD }} | ||||
|           local: ./continew-admin-webapi/target/app | ||||
|           remote: /docker/continew-admin | ||||
|           source: ./continew-admin-webapi/target/app/* | ||||
|           target: /docker/continew-admin | ||||
|           strip_components: 3 | ||||
|       # 5、启动 | ||||
|       - name: Start | ||||
|         uses: appleboy/ssh-action@master | ||||
|   | ||||
		Reference in New Issue
	
	Block a user