Commit Graph

29 Commits

Author SHA1 Message Date
Piotr Kwiecinski
6242095e72
handle errors in dep, correctly catch missing url in version check (#65)
* handle errors in dep, correctly catch missing url in version check

replace console.error with throw to handle dep error failures
in main try/catch to mark job as failed in one place

* add test action, prevent failure on empty options

* fix conflict resolution
2024-03-07 20:15:45 +01:00
jan-tricks
06aeb295d6
corrected exclamation mark (#69) 2023-06-22 13:20:39 +02:00
20x-dz
26fe6d39eb
feat: add support for specifying a recipe file path (#67) 2023-06-22 10:37:24 +02:00
20x-dz
58c8341484
fix: check if options were passed as arguments (#68)
before needlessly printing an error in the console, as an empty string
is an invalid JSON string.
2023-06-22 10:36:49 +02:00
Samuel Felipe
b4aad0389b
Sub-directories support (#58)
* Add support to subdirectories

* Update sub-directory description

* Import cd function

* Improve version checkings

* Improve version checking
2023-02-01 12:26:35 +01:00
Anton Medvedev
e71b9feeeb Fix cmd parsing 2023-01-10 18:10:04 +01:00
Anton Medvedev
ba36add8b1 Update action to use zx 2023-01-10 15:46:25 +01:00
Thomas Ali
d12c16f961
Add self-hosted option to action (#52)
+ This skips over the SSH configuration part of the action.
+ This is because self-hosted runners would typically have SSH already running causing ssh-agent command to throw an error (process already exists/port in use)
2023-01-10 14:47:26 +01:00
Benjamin
162add4f19
Set private-key as non required (#49)
Co-authored-by: benjaminmal <bbenben778@gmail.com>
2022-10-01 18:13:45 +02:00
Andy Palmer
56e7af68da
Add ansi and verbosity input options (#42) 2022-08-17 15:46:44 +02:00
Anton Medvedev
0bf91d3ad5 Add vendor/bin/deployer.phar 2022-03-19 18:21:46 +01:00
James King
b0ec39ea7a
Use --no-interaction by default (#34) 2022-03-19 16:53:53 +01:00
James King
45192b5748
Fix small grammar mistake (#32) 2022-03-19 16:21:18 +01:00
Anton Medvedev
0d8e60c62d Download based on manifest.json 2021-10-24 17:26:47 +00:00
Anton Medvedev
732002f64c Add deployer-binary input 2021-10-21 22:08:17 +02:00
Anton Medvedev
c9109f14cf Add more verbose messages 2021-10-15 23:35:30 +02:00
Anton Medvedev
6c596fa80d Refactor error 2021-10-15 23:20:14 +02:00
Anton Medvedev
77ac0bfc15 Add deployer-version 2021-10-15 23:07:42 +02:00
Anton Medvedev
2c2db8c641 Update action 2021-10-15 22:41:21 +02:00
zivan
c17d254b53
fixing relative path and permission (#24)
* fix relative path

* fix chmod 600 .ssh/known_hosts and .ssh/config
2021-09-20 21:23:18 +02:00
Andrei Ioniță
9eab20634f
Mark job as failed on error (#14)
* fix: set failed on subprocess error

* chore: update dependencies
2021-06-20 10:35:43 +03:00
Andrei Ioniță
1f9078ddea
attempt to pipe output to parent (#12) 2021-05-03 18:40:53 +02:00
Benoît Chantre
ad4e7856ef
Add ssh-config input (#11)
Closes #10
2021-05-01 11:32:31 +02:00
taqie
4b3c564869
Update index.js (#9)
Added permission to execut
2021-04-14 20:04:09 +02:00
Adam Mustill
43c2295b74
Check if we need to create SSH directory. (#6) 2021-03-07 11:45:33 +01:00
Simon Erhardt
938f1ee6ef
Fix #1 (#5)
This should fix the EACCESS issue.
2021-01-24 17:07:41 +03:00
Anton Medvedev
cc5f2d19c6 Fix argv split 2020-12-04 00:05:51 +01:00
Anton Medvedev
d2f712fdfb Add catch 2020-11-10 23:05:39 +01:00
Anton Medvedev
13c2ed42a5 Add action 2020-11-10 23:03:10 +01:00