mirror of
				https://github.com/continew-org/continew-admin.git
				synced 2025-10-31 22:57:17 +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 |           mvn -B package --file pom.xml | ||||||
|       # 4、拷贝到服务器 |       # 4、拷贝到服务器 | ||||||
|       - name: Copy |       - name: Copy | ||||||
|         uses: garygrossgarten/github-action-scp@release |         uses: appleboy/scp-action@v0.1.7 | ||||||
|         with: |         with: | ||||||
|           host: ${{ secrets.SERVER_HOST }} |           host: ${{ secrets.SERVER_HOST }} | ||||||
|           port: ${{ secrets.SERVER_PORT }} |           port: ${{ secrets.SERVER_PORT }} | ||||||
|           username: ${{ secrets.SERVER_USERNAME }} |           username: ${{ secrets.SERVER_USERNAME }} | ||||||
|           password: ${{ secrets.SERVER_PASSWORD }} |           password: ${{ secrets.SERVER_PASSWORD }} | ||||||
|           local: ./continew-admin-webapi/target/app |           source: ./continew-admin-webapi/target/app/* | ||||||
|           remote: /docker/continew-admin |           target: /docker/continew-admin | ||||||
|  |           strip_components: 3 | ||||||
|       # 5、启动 |       # 5、启动 | ||||||
|       - name: Start |       - name: Start | ||||||
|         uses: appleboy/ssh-action@master |         uses: appleboy/ssh-action@master | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user