mirror of
				https://github.com/easingthemes/ssh-deploy.git
				synced 2025-10-30 23:30:09 +08:00 
			
		
		
		
	fix: add branch instead of a version in a readme
This commit is contained in:
		
							parent
							
								
									b75a6aac49
								
							
						
					
					
						commit
						8218c8ed95
					
				
							
								
								
									
										2
									
								
								.github/workflows/codeql-analysis.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/codeql-analysis.yml
									
									
									
									
										vendored
									
									
								
							| @ -42,6 +42,6 @@ jobs: | |||||||
|     - run: | |     - run: | | ||||||
|         npm ci |         npm ci | ||||||
|         npm run build --if-present |         npm run build --if-present | ||||||
|          | 
 | ||||||
|     - name: Perform CodeQL Analysis |     - name: Perform CodeQL Analysis | ||||||
|       uses: github/codeql-action/analyze@v1 |       uses: github/codeql-action/analyze@v1 | ||||||
|  | |||||||
| @ -55,11 +55,12 @@ path to exclude separated by `,`, ie: `/dist/, /node_modules/` | |||||||
| 
 | 
 | ||||||
| # Usage | # Usage | ||||||
| 
 | 
 | ||||||
| !!! Please use latest version, Readme file is just an example, eg: ssh-deploy@v2.1.5 | Use the latest version from Marketplace,eg: ssh-deploy@v2 | ||||||
|  | or use the latest version from a branch, eg: ssh-deploy@main | ||||||
| 
 | 
 | ||||||
| ``` | ``` | ||||||
|   - name: Deploy to Staging server |   - name: Deploy to Staging server | ||||||
|     uses: easingthemes/ssh-deploy@v2.1.5 |     uses: easingthemes/ssh-deploy@main | ||||||
|     env: |     env: | ||||||
|       SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} |       SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} | ||||||
|       ARGS: "-rltgoDzvO" |       ARGS: "-rltgoDzvO" | ||||||
| @ -93,7 +94,7 @@ jobs: | |||||||
|     - name: Run build task |     - name: Run build task | ||||||
|       run: npm run build --if-present |       run: npm run build --if-present | ||||||
|     - name: Deploy to Server |     - name: Deploy to Server | ||||||
|       uses: easingthemes/ssh-deploy@v2.1.5 |       uses: easingthemes/ssh-deploy@main | ||||||
|       env: |       env: | ||||||
|           SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} |           SSH_PRIVATE_KEY: ${{ secrets.SERVER_SSH_KEY }} | ||||||
|           ARGS: "-rltgoDzvO --delete" |           ARGS: "-rltgoDzvO --delete" | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Dragan Filipovic
						Dragan Filipovic