milanmk / actions-file-deployer

Composite GitHub Action (Linux runner) for deploying repository content to remote server. Fast and customizable deployment with proxy support. Deploy only changed files or do full sync/mirror of repository content.
The Unlicense
62 stars 14 forks source link

Action succeeds if lftp errors #14

Closed gushogg-blake closed 11 months ago

gushogg-blake commented 2 years ago

The action continues even if the lftp command errors - is this intended? I'm working on a project where we would like the CI job to fail if the lftp command errors out. I think this would achieve it: https://github.com/gushogg-blake/actions-file-deployer/commit/d094460c9d1cb5e2b68afe7492a54265767fc7b7

milanmk commented 11 months ago

You can set this set cmd:fail-exit true in ftp-options input.