Commit Graph
32 Commits
Author SHA1 Message Date
SamKirkland a923da71e8 updating package 2020-08-30 00:17:42 -05:00
SamKirkland 4fe6844638 more optional props 2020-08-30 00:05:41 -05:00
SamKirkland fc9de49cd2 import fix, pacakge updates 2020-08-28 01:11:57 -05:00
SamKirkland afd59edb41 hooked up additional props
added npm badges
Updated readme
2020-08-27 23:43:10 -05:00
SamKirkland 64fd8ab1ea Merge branch 'beta-v4' of https://github.com/SamKirkland/FTP-Deploy-Action into beta-v4 2020-08-27 23:30:48 -05:00
Sam Kirkland b87fb43f2d Update index.js 2020-08-26 01:53:25 -05:00
SamKirkland 9e3379feb0 Update index.js 2020-08-26 01:48:20 -05:00
Sam Kirkland 6d051eb8e8 Update README.md 2020-08-26 01:40:07 -05:00
SamKirkland 3576f3af9c v4 beta 2020-08-26 01:28:40 -05:00
Sam Kirkland 1053c3278e Merge pull request #93 from tflight/patch-2
Add pbcopy tip for macOS users
2020-07-17 18:32:31 -05:00
Sam Kirkland 79e6bdd312 Merge pull request #81 from ciex/master
Fix problem setting up known-hosts
2020-07-16 11:09:30 -05:00
Sam Kirkland b698c49eac Merge pull request #72 from Helias/patch-1
Add Linux istructions
2020-05-07 00:25:44 -05:00
Sam Kirkland 3f7edaa478 Merge pull request #58 from SamKirkland/dependabot/npm_and_yarn/acorn-5.7.4
Bump acorn from 5.7.3 to 5.7.4
2020-04-04 15:50:05 -05:00
Sam Kirkland 586c7242ef Merge pull request #55 from apokalyptik/master
known_hosts support
2020-04-04 15:45:04 -05:00
Sam Kirkland 97865be6a0 Update README.md
Removed incorrect information about known_hosts expiring
2020-04-04 15:43:55 -05:00
Sam Kirkland b890f82a46 Update README.md
I tested this out on my host, added commands for windows 10 and moved the docs around a bit
2020-04-02 00:47:59 -05:00
Sam Kirkland af948b8060 Update main.ts
Code Cleanup changes:
- Pulled out this PR into a new function `configureHost`
- Placed args.knownHosts empty at the top of the function, this is known as "fail fast" and helps make the code more readable. Instead of wrapping our code in if/else blocks.
- Converted fs.writeFile to a awaitable function to make it more readable
- Pulled out sshFolder into a const
- Removed `console.log('Wrote ' + process.env['HOME'] + '/.ssh/known_hosts');` logging. Probably not needed because we log ` Configured known_hosts` just 2 lines later
- Small formatting changes

Bug fixes:
- Converted fs.writeFile to a awaitable function, previously the code continued to execute so this could open up a race condition. Also it's more readable :)
 - Race condition example: Previously we asked node to write the file `known_hosts` but we never verified the IO operation completed before modifying the files permission, or deploying the site. If this IO operation wasn't immediate the next function would throw or the deploy would error out.
- Any exception within the new method was swallowed because we had a catch without a throw. In this case let's end the program run instead of attempting to deploy
-
2020-03-30 23:20:38 -05:00
Sam Kirkland 98039f1fbe Added notes about git-ftp-include 2020-02-20 13:16:57 -06:00
Sam Kirkland e62d32ee89 Update issue templates 2020-02-11 19:26:23 -06:00
Sam Kirkland 5aed021d1b Merge pull request #17 from mikeybinnswebdesign/patch-3
Add temporary workaround to ARGS list
2019-11-09 22:20:22 -06:00
Sam Kirkland bfc3d99cdc Merge pull request #20 from fabiankaegy/patch-1
remove `(currently only for beta testers)`
2019-11-09 22:19:55 -06:00
Sam Kirkland 67f266cff8 Merge pull request #13 from ctrleffive/patch-1
syntax highlighting types in README changed
2019-09-18 09:29:20 -05:00
Sam Kirkland 8bbce4e262 Update README.md 2019-09-17 13:32:01 -05:00
Sam Kirkland 3e99626730 Update action.yml 2019-09-17 09:16:03 -05:00
Sam Kirkland b4e9e0afae Merge pull request #11 from Misiu/patch-1
Fix WDEFAULT_ARGS
2019-09-17 08:05:42 -05:00
Sam Kirkland e60ff92ee6 Added excluding .git files to FAQ 2019-09-16 15:48:45 -05:00
Sam Kirkland 851cc8a897 Update README.md 2019-09-16 10:49:29 -05:00
Sam Kirkland aa0baf9dc1 Update entrypoint.sh
Default ARGS
2019-09-16 10:44:36 -05:00
Sam Kirkland bef03c32a5 Update README.md
Changing fTP to FTP
2019-09-16 10:42:35 -05:00
Sam Kirkland 25b4cb7043 Updating readme 2019-08-31 17:11:09 -05:00
Sam Kirkland fe67ba0caa Updating README to reflect .yaml changes 2019-08-29 00:21:07 -05:00
Sam Kirkland d6a63fd397 Merge pull request #2 from filiptronicek/patch-1
Explanation not explination
2019-08-08 15:52:04 -05:00