mirror of
				https://github.com/SamKirkland/FTP-Deploy-Action.git
				synced 2025-10-31 23:34:00 +00:00 
			
		
		
		
	v3.1.0
Official release of known-hosts
This commit is contained in:
		
							parent
							
								
									a54cf4c5e3
								
							
						
					
					
						commit
						f68449776c
					
				
							
								
								
									
										2
									
								
								.github/workflows/test-ftp-deploy.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/test-ftp-deploy.yaml
									
									
									
									
										vendored
									
									
								
							| @ -5,7 +5,7 @@ jobs: | ||||
|     name: FTP-Deploy-Action | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@master | ||||
|     - uses: actions/checkout@v2.1.0 | ||||
|       with: | ||||
|         fetch-depth: 2 | ||||
|     - name: FTP-Deploy-Action | ||||
|  | ||||
							
								
								
									
										2
									
								
								.github/workflows/test-sftp-deploy.yaml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/test-sftp-deploy.yaml
									
									
									
									
										vendored
									
									
								
							| @ -5,7 +5,7 @@ jobs: | ||||
|     name: FTP-Deploy-Action | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@master | ||||
|     - uses: actions/checkout@v2.1.0 | ||||
|       with: | ||||
|         fetch-depth: 2 | ||||
|     - name: FTP-Deploy-Action | ||||
|  | ||||
							
								
								
									
										26
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								README.md
									
									
									
									
									
								
							| @ -19,11 +19,11 @@ jobs: | ||||
|     name: FTP-Deploy-Action | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@master | ||||
|     - uses: actions/checkout@v2.1.0 | ||||
|       with: | ||||
|         fetch-depth: 2 | ||||
|     - name: FTP-Deploy-Action | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||
|       with: | ||||
|         ftp-server: ftp://ftp.samkirkland.com/ | ||||
|         ftp-username: myFtpUserName | ||||
| @ -179,11 +179,11 @@ jobs: | ||||
|     name: FTP-Deploy-Action | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@master | ||||
|     - uses: actions/checkout@v2.1.0 | ||||
|       with: | ||||
|         fetch-depth: 2 | ||||
|     - name: FTP-Deploy-Action | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||
|       with: | ||||
|         ftp-server: ftp://ftp.samkirkland.com/ | ||||
|         ftp-username: myFtpUserName | ||||
| @ -207,12 +207,12 @@ jobs: | ||||
|     name: FTP-Deploy-Action | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@master | ||||
|     - uses: actions/checkout@v2.1.0 | ||||
|       with: | ||||
|         fetch-depth: 2 | ||||
| 
 | ||||
|     - name: FTP-Deploy-Action | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||
|       with: | ||||
|         ftp-server: ftps://ftp.samkirkland.com:21/ | ||||
|         ftp-username: myFTPSUsername | ||||
| @ -254,12 +254,12 @@ jobs: | ||||
|     name: FTP-Deploy-Action | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@master | ||||
|     - uses: actions/checkout@v2.1.0 | ||||
|       with: | ||||
|         fetch-depth: 2 | ||||
| 
 | ||||
|     - name: FTP-Deploy-Action | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||
|       with: | ||||
|         ftp-server: sftp://ftp.samkirkland.com:7280/ | ||||
|         ftp-username: mySFTPUsername | ||||
| @ -280,7 +280,7 @@ jobs: | ||||
|     name: FTP-Deploy-Action | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@master | ||||
|     - uses: actions/checkout@v2.1.0 | ||||
|       with: | ||||
|         fetch-depth: 2 | ||||
| 
 | ||||
| @ -298,7 +298,7 @@ jobs: | ||||
|       run: ls | ||||
|        | ||||
|     - name: FTP-Deploy-Action | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||
|       with: | ||||
|         ftp-server: ftp://ftp.samkirkland.com/ | ||||
|         ftp-username: myFTPUsername | ||||
| @ -316,12 +316,12 @@ jobs: | ||||
|     name: FTP-Deploy-Action | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|     - uses: actions/checkout@master | ||||
|     - uses: actions/checkout@v2.1.0 | ||||
|       with: | ||||
|         fetch-depth: 2 | ||||
| 
 | ||||
|     - name: FTP-Deploy-Action | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 | ||||
|       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||
|       with: | ||||
|         ftp-server: ftp://ftp.samkirkland.com/ | ||||
|         ftp-username: myFTPUsername | ||||
| @ -345,7 +345,7 @@ See the [`.git-ftp-ignore`](#ignore-specific-files-when-deploying) example secti | ||||
| 
 | ||||
| By default only different files are uploaded. | ||||
| 
 | ||||
| Verify you have `with: fetch-depth: 2` in your `actions/checkout@master` step. The last 2 checkins are required in order to determine differences | ||||
| Verify you have `with: fetch-depth: 2` in your `actions/checkout@v2.1.0` step. The last 2 checkins are required in order to determine differences | ||||
| 
 | ||||
| If you've had multiple git commits without deploying, all files will be uploaded to get back in sync | ||||
| 
 | ||||
|  | ||||
| @ -13,11 +13,11 @@ inputs: | ||||
|     required: true | ||||
|   local-dir: | ||||
|     description: 'The local folder to copy, defaults to root project folder' | ||||
|     defaults: ./ | ||||
|     default: ./ | ||||
|     required: false | ||||
|   git-ftp-args: | ||||
|     description: 'Passes through options into git-ftp' | ||||
|     defaults:  | ||||
|     default:  | ||||
|     required: false | ||||
| runs: | ||||
|   using: 'docker' | ||||
|  | ||||
| @ -1,6 +1,6 @@ | ||||
| # Migrating from v2 to v3 | ||||
| 
 | ||||
| `uses: actions/checkout@master` must now have the option `fetch-depth: 2` | ||||
| `uses: actions/checkout@v2.1.0` must now have the option `fetch-depth: 2` | ||||
| 
 | ||||
| Without the `fetch-depth` option diffs cannot be calculated and all files will be uploaded. | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user