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 |     name: FTP-Deploy-Action | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@master |     - uses: actions/checkout@v2.1.0 | ||||||
|       with: |       with: | ||||||
|         fetch-depth: 2 |         fetch-depth: 2 | ||||||
|     - name: FTP-Deploy-Action |     - 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 |     name: FTP-Deploy-Action | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@master |     - uses: actions/checkout@v2.1.0 | ||||||
|       with: |       with: | ||||||
|         fetch-depth: 2 |         fetch-depth: 2 | ||||||
|     - name: FTP-Deploy-Action |     - name: FTP-Deploy-Action | ||||||
|  | |||||||
							
								
								
									
										26
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								README.md
									
									
									
									
									
								
							| @ -19,11 +19,11 @@ jobs: | |||||||
|     name: FTP-Deploy-Action |     name: FTP-Deploy-Action | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@master |     - uses: actions/checkout@v2.1.0 | ||||||
|       with: |       with: | ||||||
|         fetch-depth: 2 |         fetch-depth: 2 | ||||||
|     - name: FTP-Deploy-Action |     - name: FTP-Deploy-Action | ||||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 |       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||||
|       with: |       with: | ||||||
|         ftp-server: ftp://ftp.samkirkland.com/ |         ftp-server: ftp://ftp.samkirkland.com/ | ||||||
|         ftp-username: myFtpUserName |         ftp-username: myFtpUserName | ||||||
| @ -179,11 +179,11 @@ jobs: | |||||||
|     name: FTP-Deploy-Action |     name: FTP-Deploy-Action | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@master |     - uses: actions/checkout@v2.1.0 | ||||||
|       with: |       with: | ||||||
|         fetch-depth: 2 |         fetch-depth: 2 | ||||||
|     - name: FTP-Deploy-Action |     - name: FTP-Deploy-Action | ||||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 |       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||||
|       with: |       with: | ||||||
|         ftp-server: ftp://ftp.samkirkland.com/ |         ftp-server: ftp://ftp.samkirkland.com/ | ||||||
|         ftp-username: myFtpUserName |         ftp-username: myFtpUserName | ||||||
| @ -207,12 +207,12 @@ jobs: | |||||||
|     name: FTP-Deploy-Action |     name: FTP-Deploy-Action | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@master |     - uses: actions/checkout@v2.1.0 | ||||||
|       with: |       with: | ||||||
|         fetch-depth: 2 |         fetch-depth: 2 | ||||||
| 
 | 
 | ||||||
|     - name: FTP-Deploy-Action |     - name: FTP-Deploy-Action | ||||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 |       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||||
|       with: |       with: | ||||||
|         ftp-server: ftps://ftp.samkirkland.com:21/ |         ftp-server: ftps://ftp.samkirkland.com:21/ | ||||||
|         ftp-username: myFTPSUsername |         ftp-username: myFTPSUsername | ||||||
| @ -254,12 +254,12 @@ jobs: | |||||||
|     name: FTP-Deploy-Action |     name: FTP-Deploy-Action | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@master |     - uses: actions/checkout@v2.1.0 | ||||||
|       with: |       with: | ||||||
|         fetch-depth: 2 |         fetch-depth: 2 | ||||||
| 
 | 
 | ||||||
|     - name: FTP-Deploy-Action |     - name: FTP-Deploy-Action | ||||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 |       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||||
|       with: |       with: | ||||||
|         ftp-server: sftp://ftp.samkirkland.com:7280/ |         ftp-server: sftp://ftp.samkirkland.com:7280/ | ||||||
|         ftp-username: mySFTPUsername |         ftp-username: mySFTPUsername | ||||||
| @ -280,7 +280,7 @@ jobs: | |||||||
|     name: FTP-Deploy-Action |     name: FTP-Deploy-Action | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@master |     - uses: actions/checkout@v2.1.0 | ||||||
|       with: |       with: | ||||||
|         fetch-depth: 2 |         fetch-depth: 2 | ||||||
| 
 | 
 | ||||||
| @ -298,7 +298,7 @@ jobs: | |||||||
|       run: ls |       run: ls | ||||||
|        |        | ||||||
|     - name: FTP-Deploy-Action |     - name: FTP-Deploy-Action | ||||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 |       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||||
|       with: |       with: | ||||||
|         ftp-server: ftp://ftp.samkirkland.com/ |         ftp-server: ftp://ftp.samkirkland.com/ | ||||||
|         ftp-username: myFTPUsername |         ftp-username: myFTPUsername | ||||||
| @ -316,12 +316,12 @@ jobs: | |||||||
|     name: FTP-Deploy-Action |     name: FTP-Deploy-Action | ||||||
|     runs-on: ubuntu-latest |     runs-on: ubuntu-latest | ||||||
|     steps: |     steps: | ||||||
|     - uses: actions/checkout@master |     - uses: actions/checkout@v2.1.0 | ||||||
|       with: |       with: | ||||||
|         fetch-depth: 2 |         fetch-depth: 2 | ||||||
| 
 | 
 | ||||||
|     - name: FTP-Deploy-Action |     - name: FTP-Deploy-Action | ||||||
|       uses: SamKirkland/FTP-Deploy-Action@3.0.0 |       uses: SamKirkland/FTP-Deploy-Action@3.1.0 | ||||||
|       with: |       with: | ||||||
|         ftp-server: ftp://ftp.samkirkland.com/ |         ftp-server: ftp://ftp.samkirkland.com/ | ||||||
|         ftp-username: myFTPUsername |         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. | 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 | 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 |     required: true | ||||||
|   local-dir: |   local-dir: | ||||||
|     description: 'The local folder to copy, defaults to root project folder' |     description: 'The local folder to copy, defaults to root project folder' | ||||||
|     defaults: ./ |     default: ./ | ||||||
|     required: false |     required: false | ||||||
|   git-ftp-args: |   git-ftp-args: | ||||||
|     description: 'Passes through options into git-ftp' |     description: 'Passes through options into git-ftp' | ||||||
|     defaults:  |     default:  | ||||||
|     required: false |     required: false | ||||||
| runs: | runs: | ||||||
|   using: 'docker' |   using: 'docker' | ||||||
|  | |||||||
| @ -1,6 +1,6 @@ | |||||||
| # Migrating from v2 to v3 | # 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. | Without the `fetch-depth` option diffs cannot be calculated and all files will be uploaded. | ||||||
| 
 | 
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user