76 Commits

Author SHA1 Message Date
SamKirkland
f0ef8012ea local-dir path, excludes param logging 2020-11-13 12:12:25 -06:00
Sam Kirkland
649aa38be8
Merge pull request #117 from SamKirkland/beta-v4
Version 4.0.0
2020-11-13 01:07:57 -06:00
SamKirkland
07d05bff14 version 4 2020-11-13 00:32:29 -06:00
SamKirkland
26175f3bf0 Added badge section 2020-10-25 01:55:55 -05:00
SamKirkland
63b04d6546 updated ftp-deploy with dryrun patch 2020-10-25 00:41:02 -05:00
SamKirkland
928e32c59b back to building with ncc 2020-10-24 00:56:44 -05:00
SamKirkland
c14c34b02c updated ftp-deploy version 2020-10-23 23:41:37 -05:00
SamKirkland
b6b6e42be5 updating ftp-deploy to v0.9.6 2020-09-07 14:57:56 -05:00
SamKirkland
62b6382e92 ftp-deploy update
solved caching issue
updated ftp-deploy library
2020-09-05 01:33:58 -05:00
SamKirkland
c6e7e7c2db Fixed another quote 2020-08-30 23:49:59 -05:00
SamKirkland
64416173e6 fixing yaml quote 2020-08-30 23:45:46 -05:00
SamKirkland
81ee749b94 updating readme 2020-08-30 23:25:49 -05:00
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
tflight
acdf4a21c3
Add pbcopy tip for macOS users
This copies the key directly to your clipboard on macOS.
2020-07-17 11:14:16 -04: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
Vincent Ahrend
4aadb4a381 Fix known hosts example to include known-hosts arg 2020-06-05 14:32:27 +02:00
Vincent Ahrend
c47227925c Fix missing argument in action.yml 2020-06-05 14:29:03 +02:00
SamKirkland
da0d77ff39 v3.1.1
Bug fix: argument escaping for spaces within passwords
2020-05-17 17:28:14 -05:00
SamKirkland
1af692f7d5 Updating linux testing instructions 2020-05-17 17:25:20 -05:00
SamKirkland
ae5262e007 using act for local debugging
Added act library for local debugging
Attempting to use exec argument escaping
2020-05-17 16:57:25 -05:00
Sam Kirkland
b698c49eac
Merge pull request #72 from Helias/patch-1
Add Linux istructions
2020-05-07 00:25:44 -05:00
Stefano Borzì
ccf756b42e
Add Linux istructions 2020-05-06 18:21:47 +02:00
SamKirkland
f68449776c v3.1.0
Official release of known-hosts
2020-05-05 00:58:08 -05:00
SamKirkland
a54cf4c5e3 Closes #60
Due to node issue using exit code 0 for exceptions thrown in async methods.
Fixed by moving getUserArguments inside try block.
2020-05-02 02:14:10 -05:00
SamKirkland
c42c8e46fb Updating ReadMe FAQ Section 2020-05-02 00:24:55 -05:00
SamKirkland
c926b9df00 Library & test updates
- Updated NPM packages
- Updated tests to point to correct branch (oops)
2020-05-01 23:07:16 -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
dependabot[bot]
e39df43686
Bump acorn from 5.7.3 to 5.7.4
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-04 20:46:45 +00: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
apokalyptik
c9f0bcd878
Update README.md 2020-03-31 10:10:56 -07:00
apokalyptik
481f9001ff
work on formatting 2020-03-31 10:10:10 -07:00
Demitrious Kelly
4938a6057e README update, and rebuild of index.js 2020-03-31 10:00:49 -07: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
Demitrious Kelly
db3b78d8e7 more spaghetti at the wall [2] 2020-03-25 15:28:33 -07:00
Demitrious Kelly
034d210969 more spaghetti at the wall 2020-03-25 15:15:12 -07:00
Demitrious Kelly
2863e02eda home? 2020-03-25 15:03:56 -07:00
Demitrious Kelly
9315d47124 attempt to create known_hosts 2020-03-25 14:52:17 -07:00
Sam Kirkland
98039f1fbe
Added notes about git-ftp-include 2020-02-20 13:16:57 -06:00
SamKirkland
4895f6f251 v3.0.0
Complete rewrite!
Switched from LFTP to git-ftp
Upload diffs based on git history by default
lower case kebab argument names
Migrated from shell to typescript
Added FTP and SFTP tests
.git-ftp-ignore and .git-ftp-include support
2020-02-18 00:34:10 -06:00