54 Commits

Author SHA1 Message Date
Sam Kirkland
6647c2f8ad
Merge pull request #346 from SamKirkland/v3.1.2-patch
v3.1.2-patch
3.1.2 v3.1.2
2022-12-15 09:39:43 -06:00
Sam Kirkland
41575a636c
v3.1.2-patch 2022-12-15 02:45:45 -06:00
SamKirkland
4158862244 v3.1.2
node v16
2022-12-02 11:14:15 -06:00
Sam Kirkland
559ddbb4df
Update Dockerfile 2021-08-16 11:53:47 -05: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
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
Fabian Kägy
319b6d2cd8
remove (currently only for beta testers)
As GitHub actions is no longer in Beta I removed the line of it only being available for beta testers
2019-11-10 01:15:05 +01:00
Mikey Binns
fd3d225df7
Add temporary workaround to ARGS list
I found the temporary workaround you mentioned in this issue to be very beneficial, so I am proposing that it be added to the table of flags. I do also see the argument for not including it though, so this is more to open the discussion.
2019-10-10 09:24:55 +01:00
SamKirkland
9c4e4646b8 v2.0.0
SFTP support!
v2.0.0 2.0.0
2019-10-08 00:26:19 -05: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
Chandu J S
f8a41d35d1
syntax highlighting types changed
code example's language type in the file was wrong. changed from `shell` to `yml` and `json` to `workflow`
2019-09-18 17:28:39 +04: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
1.5.0 v1.5.0
2019-09-17 08:05:42 -05:00
Tomasz Jagusz
24ffd9c7f3
Fix WDEFAULT_ARGS 2019-09-17 09:00:42 +02: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
SamKirkland
0fae300950 Updating ReadMe 2019-09-16 00:55:22 -05:00
SamKirkland
f00166c73a Updated README 2019-09-16 00:00:25 -05:00
SamKirkland
2c3915c100 ARGS pass through props feature
Added ARGS option
Added some more examples
2019-09-15 23:56:38 -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