mirror of
				https://github.com/SamKirkland/FTP-Deploy-Action.git
				synced 2025-10-31 09:34:01 +00:00 
			
		
		
		
	4.3.1 release
Upgrade basic-ftp library Update npm libraries Resolves #308
This commit is contained in:
		
							parent
							
								
									d0aa838726
								
							
						
					
					
						commit
						16956be3a6
					
				
							
								
								
									
										13
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README.md
									
									
									
									
									
								
							| @ -23,7 +23,7 @@ jobs: | ||||
|       uses: actions/checkout@v2 | ||||
|      | ||||
|     - name: 📂 Sync files | ||||
|       uses: SamKirkland/FTP-Deploy-Action@4.3.0 | ||||
|       uses: SamKirkland/FTP-Deploy-Action@4.3.1 | ||||
|       with: | ||||
|         server: ftp.samkirkland.com | ||||
|         username: myFtpUserName | ||||
| @ -33,7 +33,7 @@ jobs: | ||||
| --- | ||||
| 
 | ||||
| ### Requirements | ||||
| - You must have ftp access to your server. If your host requires ssh please use my web-deploy action (coming soon) | ||||
| - You must have ftp access to your server. If your host allows or requires ssh please use my [web-deploy](https://github.com/SamKirkland/web-deploy) action | ||||
| - Some web hosts change the default port (21), check with your host for your port number | ||||
| 
 | ||||
| --- | ||||
| @ -70,6 +70,7 @@ I strongly recommend you store your `password` as a secret. | ||||
| | `exclude`               | No       | [See Example](#exclude-files) | [See Example](#exclude-files) | An array of glob patterns, these files will not be included in the publish/delete process. [List MUST be in this format](#exclude-files). You can use [a glob tester](https://www.digitalocean.com/community/tools/glob?comments=true&glob=%2A%2A%2F.git%2A%2F%2A%2A&matches=false&tests=test%2Fsam&tests=.git%2F&tests=.github%2F&tests=.git%2Ftest&tests=.gitattributes&tests=.gitignore&tests=.git%2Fconfig&tests=.git%2Ftest%2Ftest&tests=.github%2Fworkflows%2Fmain.yml&tests=test%2F.git%2Fworkflows%2Fmain.yml&tests=node_modules%2Ffolder%2F&tests=node_modules%2Fotherfolder%2F&tests=subfolder%2Fnode_modules%2F) to test your pattern(s). | | ||||
| | `log-level`             | No       | `minimal`                     | `standard`                    | `minimal`: only important info, `standard`: important info and basic file changes, `verbose`: print everything the script is doing                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   | | ||||
| | `security`              | No       | `strict`                      | `loose`                       | `strict`: Reject any connection which is not authorized with the list of supplied CAs. `loose`: Allow connection even when the domain is not certificate                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             | | ||||
| | `timeout`               | No       | `30000`                       | `60000`                       | Timeout in milliseconds for FTP operations                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           | | ||||
| 
 | ||||
| 
 | ||||
| # Common Examples | ||||
| @ -98,7 +99,7 @@ jobs: | ||||
|         npm run build | ||||
|      | ||||
|     - name: 📂 Sync files | ||||
|       uses: SamKirkland/FTP-Deploy-Action@4.3.0 | ||||
|       uses: SamKirkland/FTP-Deploy-Action@4.3.1 | ||||
|       with: | ||||
|         server: ftp.samkirkland.com | ||||
|         username: myFtpUserName | ||||
| @ -118,7 +119,7 @@ jobs: | ||||
|       uses: actions/checkout@v2 | ||||
| 
 | ||||
|     - name: 📂 Sync files | ||||
|       uses: SamKirkland/FTP-Deploy-Action@4.3.0 | ||||
|       uses: SamKirkland/FTP-Deploy-Action@4.3.1 | ||||
|       with: | ||||
|         server: ftp.samkirkland.com | ||||
|         username: myFtpUserName | ||||
| @ -141,7 +142,7 @@ jobs: | ||||
|       uses: actions/checkout@v2 | ||||
| 
 | ||||
|     - name: 📂 Sync files | ||||
|       uses: SamKirkland/FTP-Deploy-Action@4.3.0 | ||||
|       uses: SamKirkland/FTP-Deploy-Action@4.3.1 | ||||
|       with: | ||||
|         server: ftp.samkirkland.com | ||||
|         username: myFtpUserName | ||||
| @ -163,7 +164,7 @@ jobs: | ||||
|       uses: actions/checkout@v2 | ||||
| 
 | ||||
|     - name: 📂 Sync files | ||||
|       uses: SamKirkland/FTP-Deploy-Action@4.3.0 | ||||
|       uses: SamKirkland/FTP-Deploy-Action@4.3.1 | ||||
|       with: | ||||
|         server: ftp.samkirkland.com | ||||
|         username: myFtpUserName | ||||
|  | ||||
							
								
								
									
										1948
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1948
									
								
								dist/index.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -27,7 +27,7 @@ Most features have been carried forward and improved upon. However, some feature | ||||
| ### How to upgrade | ||||
| 
 | ||||
| 1) Remove `with: fetch-depth: 2`. It is no longer needed and removing it will _slightly_ speed up deployments. | ||||
| 2) Change the version to `4.X.X`, for example `SamKirkland/FTP-Deploy-Action@4.1.0` (please check readme for latest version) | ||||
| 2) Change the version to `4.X.X`, for example `SamKirkland/FTP-Deploy-Action@4.3.1` (please check readme for latest version) | ||||
| 3) If you have a `.git-ftp-include` file you should delete it. Version 4 tracks files differently and no longer needs this config file. | ||||
| 4) If you have a `.git-ftp-ignore` file, you should transfer the options to the new `exclude` argument. _Note: Version 4 excludes any `.git*` and `node_modules/` files/folders by default_ | ||||
| 5) Update your arguments to reflect the following changes | ||||
|  | ||||
							
								
								
									
										4962
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4962
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										26
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										26
									
								
								package.json
									
									
									
									
									
								
							| @ -1,6 +1,6 @@ | ||||
| { | ||||
|   "name": "ftp-deploy-action", | ||||
|   "version": "4.3.0", | ||||
|   "version": "4.3.1", | ||||
|   "private": true, | ||||
|   "description": "Automate deploying websites and more with this GitHub action", | ||||
|   "main": "dist/index.js", | ||||
| @ -22,20 +22,20 @@ | ||||
|   "author": "Sam Kirkland", | ||||
|   "license": "MIT", | ||||
|   "dependencies": { | ||||
|     "@actions/core": "^1.6.0", | ||||
|     "@samkirkland/ftp-deploy": "^1.2.1", | ||||
|     "@types/jest": "^27.0.2", | ||||
|     "jest": "^27.2.5", | ||||
|     "ts-jest": "^27.0.5", | ||||
|     "ts-node-dev": "^1.1.8" | ||||
|     "@actions/core": "^1.9.1", | ||||
|     "@samkirkland/ftp-deploy": "^1.2.2", | ||||
|     "@types/jest": "^28.1.7", | ||||
|     "jest": "^28.1.3", | ||||
|     "ts-jest": "^28.0.8", | ||||
|     "ts-node-dev": "^2.0.0" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@types/node": "^14.0.27", | ||||
|     "@typescript-eslint/eslint-plugin": "^4.28.0", | ||||
|     "@typescript-eslint/parser": "^4.33.0", | ||||
|     "@vercel/ncc": "^0.31.1", | ||||
|     "eslint": "^7.29.0", | ||||
|     "eslint-plugin-jest": "^24.3.6", | ||||
|     "typescript": "^4.4.3" | ||||
|     "@typescript-eslint/eslint-plugin": "^5.33.1", | ||||
|     "@typescript-eslint/parser": "^5.33.1", | ||||
|     "@vercel/ncc": "^0.34.0", | ||||
|     "eslint": "^8.22.0", | ||||
|     "eslint-plugin-jest": "^26.8.7", | ||||
|     "typescript": "^4.7.4" | ||||
|   } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user