Open jwdonahue opened 5 months ago
Try setting debug
input which will show verbose logs of FTP connection.
How is that accomplished?
Thank you. The "No such file or directory" message might be important, but what file or directory was missing?
"workflow": ".github/workflows/main.yml"
/home/runner/work/_temp/9be1ce95-d70c-4456-9ab8-dbe17b1b0512.sh: line 107: YwVn5qT7E\YJ*12cLGiJM?CQs3=PMBU5eP^??#i+7#z7oMzwY.bfh1mm2:e7+l, remote-path: /home/wellnessfromfood/DeploymentTest1/, debug: true, remote-port: 22, ssh-private-key: , proxy: false, proxy-host: , proxy-port: 22, proxy-forwarding-port: 1080, proxy-user: , proxy-private-key: , local-path: ., sync: delta, sync-delta-excludes: , ssh-options: , ftp-options: , ftp-mirror-options: , ftp-post-sync-commands: , webhook: , artifacts: }: No such file or directory }____ Context: env {}
Inputs: { remote-protocol: ftp, remote-host: redacted, remote-user: redacted, remote-password: redacted Error: Process completed with exit code 127.
I removed the trailing slash from the remote_path and the "No such file or directory" result isn't there anymore, but it's still failing with error code 127.
At least with debug enabled, the action status is showing as failed.
Please share the entire log for the workflow.
This entry is interesting:
2024-03-28T06:13:43.7238868Z /home/runner/work/_temp/17d7fe26-4961-400a-9672-15f9a1bc5e92.sh: line 107: $'YwVn5qT7E\YJ*12cLGiJM?CQs3=PMBU5eP^??#i+7#z7oMzwY.bfh1mm2:e7+l,\n remote-path: DeploymentTest1,\n debug: true,\n remote-port: 22,\n ssh-private-key: ,\n proxy: false,\n proxy-host: ,\n proxy-port: 22,\n proxy-forwarding-port: 1080,\n proxy-user: ,\n proxy-private-key: ,\n local-path: .,\n sync: delta,\n sync-delta-excludes: ,\n ssh-options: ,\n ftp-options: ,\n ftp-mirror-options: ,\n ftp-post-sync-commands: ,\n webhook: ,\n artifacts: \n}': command not found
2024-03-28T06:13:41.0139631Z Current runner version: '2.314.1'
2024-03-28T06:13:41.0162700Z ##[group]Operating System
2024-03-28T06:13:41.0163485Z Ubuntu
2024-03-28T06:13:41.0163828Z 22.04.4
2024-03-28T06:13:41.0164159Z LTS
2024-03-28T06:13:41.0164583Z ##[endgroup]
2024-03-28T06:13:41.0164993Z ##[group]Runner Image
2024-03-28T06:13:41.0165506Z Image: ubuntu-22.04
2024-03-28T06:13:41.0165883Z Version: 20240324.2.0
2024-03-28T06:13:41.0167173Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20240324.2/images/ubuntu/Ubuntu2204-Readme.md
2024-03-28T06:13:41.0168729Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20240324.2
2024-03-28T06:13:41.0169633Z ##[endgroup]
2024-03-28T06:13:41.0169999Z ##[group]Runner Image Provisioner
2024-03-28T06:13:41.0170552Z 2.0.361.1
2024-03-28T06:13:41.0170915Z ##[endgroup]
2024-03-28T06:13:41.0173050Z ##[group]GITHUB_TOKEN Permissions
2024-03-28T06:13:41.0174771Z Actions: write
2024-03-28T06:13:41.0175209Z Checks: write
2024-03-28T06:13:41.0175888Z Contents: write
2024-03-28T06:13:41.0176365Z Deployments: write
2024-03-28T06:13:41.0176878Z Discussions: write
2024-03-28T06:13:41.0177278Z Issues: write
2024-03-28T06:13:41.0177610Z Metadata: read
2024-03-28T06:13:41.0178078Z Packages: write
2024-03-28T06:13:41.0178458Z Pages: write
2024-03-28T06:13:41.0178848Z PullRequests: write
2024-03-28T06:13:41.0179319Z RepositoryProjects: write
2024-03-28T06:13:41.0179784Z SecurityEvents: write
2024-03-28T06:13:41.0180217Z Statuses: write
2024-03-28T06:13:41.0180703Z ##[endgroup]
2024-03-28T06:13:41.0183647Z Secret source: Actions
2024-03-28T06:13:41.0184277Z Prepare workflow directory
2024-03-28T06:13:41.0811020Z Prepare all required actions
2024-03-28T06:13:41.0984836Z Getting action download info
2024-03-28T06:13:41.2895003Z Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
2024-03-28T06:13:41.4232102Z Download action repository 'milanmk/actions-file-deployer@master' (SHA:c1baf767551098897cadabc77c520a9be30dc916)
2024-03-28T06:13:42.0041943Z Getting action download info
2024-03-28T06:13:42.1335175Z Download action repository 'actions/upload-artifact@v4' (SHA:5d5d22a31266ced268874388b861e4b58bb5c2f3)
2024-03-28T06:13:42.3011167Z Complete job name: main branch
2024-03-28T06:13:42.3890201Z ##[group]Run actions/checkout@v4
2024-03-28T06:13:42.3890687Z with:
2024-03-28T06:13:42.3891021Z fetch-depth: 0
2024-03-28T06:13:42.3891568Z repository: WellnessFromFood/WebSiteApplication
2024-03-28T06:13:42.3892262Z token:
2024-03-28T06:13:42.3892639Z ssh-strict: true
2024-03-28T06:13:42.3893053Z persist-credentials: true
2024-03-28T06:13:42.3893444Z clean: true
2024-03-28T06:13:42.3893809Z sparse-checkout-cone-mode: true
2024-03-28T06:13:42.3894298Z fetch-tags: false
2024-03-28T06:13:42.3894614Z show-progress: true
2024-03-28T06:13:42.3895000Z lfs: false
2024-03-28T06:13:42.3895388Z submodules: false
2024-03-28T06:13:42.3895755Z set-safe-directory: true
2024-03-28T06:13:42.3896102Z ##[endgroup]
2024-03-28T06:13:42.5895976Z Syncing repository: WellnessFromFood/WebSiteApplication
2024-03-28T06:13:42.5898994Z ##[group]Getting Git version info
2024-03-28T06:13:42.5912721Z Working directory is '/home/runner/work/WebSiteApplication/WebSiteApplication'
2024-03-28T06:13:42.5936168Z [command]/usr/bin/git version
2024-03-28T06:13:42.5968818Z git version 2.43.2
2024-03-28T06:13:42.5996412Z ##[endgroup]
2024-03-28T06:13:42.6026546Z Temporarily overriding HOME='/home/runner/work/_temp/32715922-c1b0-423a-892a-eb480f560bc4' before making global git config changes
2024-03-28T06:13:42.6031377Z Adding repository directory to the temporary git global config as a safe directory
2024-03-28T06:13:42.6041678Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/WebSiteApplication/WebSiteApplication
2024-03-28T06:13:42.6092865Z Deleting the contents of '/home/runner/work/WebSiteApplication/WebSiteApplication'
2024-03-28T06:13:42.6115560Z ##[group]Initializing the repository
2024-03-28T06:13:42.6116680Z [command]/usr/bin/git init /home/runner/work/WebSiteApplication/WebSiteApplication
2024-03-28T06:13:42.6194551Z hint: Using 'master' as the name for the initial branch. This default branch name
2024-03-28T06:13:42.6196430Z hint: is subject to change. To configure the initial branch name to use in all
2024-03-28T06:13:42.6198051Z hint: of your new repositories, which will suppress this warning, call:
2024-03-28T06:13:42.6202190Z hint:
2024-03-28T06:13:42.6203766Z hint: git config --global init.defaultBranch date +%s
\[0m
2024-03-28T06:13:43.6818655Z [36;1m --arg status "${status}" \[0m
2024-03-28T06:13:43.6819215Z [36;1m --arg repository "WellnessFromFood/WebSiteApplication" \[0m
2024-03-28T06:13:43.6819873Z [36;1m --arg workflow "Deploy Files" \[0m
2024-03-28T06:13:43.6820285Z [36;1m --arg job "deploy-main" \[0m
2024-03-28T06:13:43.6820713Z [36;1m --arg run_id "8463238533" \[0m
2024-03-28T06:13:43.6821228Z [36;1m --arg ref "refs/heads/main" \[0m
2024-03-28T06:13:43.6821704Z [36;1m --arg event_name "workflow_dispatch" \[0m
2024-03-28T06:13:43.6822141Z [36;1m --arg actor "jwdonahue" \[0m
2024-03-28T06:13:43.6822634Z [36;1m --arg message "" \[0m
2024-03-28T06:13:43.6823146Z [36;1m --arg revision "2545556f7a857a8d4830cbf0a85459cac406dcdb" \[0m
2024-03-28T06:13:43.6824331Z [36;1m '{"timestamp": $timestamp, "status": $status, "repository": $repository, "workflow": $workflow, "job": $job, "run_id": $run_id, "ref": $ref, "event_name": $event_name, "actor": $actor, "message": $message, "revision": $revision}')[0m
2024-03-28T06:13:43.6825463Z [36;1m[0m
2024-03-28T06:13:43.6826195Z [36;1m curl --data "${post_data}" --header "Content-Type: application/json" --max-time 30 --show-error --silent --user-agent "GitHub Workflow" ""[0m
2024-03-28T06:13:43.6826979Z [36;1m}[0m
2024-03-28T06:13:43.6827350Z [36;1m[0m
2024-03-28T06:13:43.6827805Z [36;1m[ "" != "" ] && echo "Webhook notification (start): $(send_webhook "start")"[0m
2024-03-28T06:13:43.6828421Z [36;1m[0m
2024-03-28T06:13:43.6828709Z [36;1mecho "Check repository"[0m
2024-03-28T06:13:43.6829095Z [36;1m[0m
2024-03-28T06:13:43.6829698Z [36;1mif [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" != "true" ]; then[0m
2024-03-28T06:13:43.6830578Z [36;1m echo "::error::Git repository not found. Please ensure you have a checkout step before this step."[0m
2024-03-28T06:13:43.6831270Z [36;1m exit 1[0m
2024-03-28T06:13:43.6831624Z [36;1mfi[0m
2024-03-28T06:13:43.6831930Z [36;1m[0m
2024-03-28T06:13:43.6832262Z [36;1mecho "Initialize inputs"[0m
2024-03-28T06:13:43.6832734Z [36;1m[0m
2024-03-28T06:13:43.6833072Z [36;1mlocal_path_unslash=$(echo "." | sed 's:/$::')[0m
2024-03-28T06:13:43.6833613Z [36;1mlocal_path_slash="${local_path_unslash}/"[0m
2024-03-28T06:13:43.6834124Z [36;1m[0m
2024-03-28T06:13:43.6834625Z [36;1mremote_path_unslash=$(realpath --canonicalize-missing 'DeploymentTest1')[0m
2024-03-28T06:13:43.6835261Z [36;1mremote_path_slash="${remote_path_unslash}/"[0m
2024-03-28T06:13:43.6835768Z [36;1m[0m
2024-03-28T06:13:43.6836698Z [36;1minput_remote_password="**"[0m
2024-03-28T06:13:43.6837399Z [36;1mif [ "" == "" ]; then[0m
2024-03-28T06:13:43.6838019Z [36;1m input_remote_password="dummypassword"[0m
2024-03-28T06:13:43.6838464Z [36;1mfi[0m
2024-03-28T06:13:43.6838835Z [36;1m[0m
2024-03-28T06:13:43.6839166Z [36;1minput_proxy="false"[0m
2024-03-28T06:13:43.6839491Z [36;1m[0m
2024-03-28T06:13:43.6839852Z [36;1mproxy_cmd=""[0m
2024-03-28T06:13:43.6840275Z [36;1mif [ "${input_proxy}" == "true" ]; then[0m
2024-03-28T06:13:43.6840928Z [36;1m proxy_cmd="proxychains"[0m
2024-03-28T06:13:43.6841375Z [36;1mfi[0m
2024-03-28T06:13:43.6841683Z [36;1m[0m
2024-03-28T06:13:43.6841985Z [36;1minput_sync=delta[0m
2024-03-28T06:13:43.6842536Z [36;1mif [ "workflow_dispatch" == "workflow_dispatch" ]; then[0m
2024-03-28T06:13:43.6843017Z [36;1m input_sync=full[0m
2024-03-28T06:13:43.6843375Z [36;1mfi[0m
2024-03-28T06:13:43.6843753Z [36;1m[0m
2024-03-28T06:13:43.6844067Z [36;1mecho "Validate inputs"[0m
2024-03-28T06:13:43.6844424Z [36;1m[0m
2024-03-28T06:13:43.6844877Z [36;1mif [ "ftp" != "sftp" ] && [ "ftp" != "ftp" ]; then[0m
2024-03-28T06:13:43.6845558Z [36;1m echo "::error::Invalid protocol: ftp. Valid protocols are 'ftp' and 'sftp'."[0m
2024-03-28T06:13:43.6846169Z [36;1m exit 1[0m
2024-03-28T06:13:43.6846550Z [36;1mfi[0m
2024-03-28T06:13:43.6847259Z [36;1m[0m
2024-03-28T06:13:43.6847732Z [36;1mif [ "${input_sync}" != "delta" ] && [ "${input_sync}" != "full" ]; then[0m
2024-03-28T06:13:43.6848614Z [36;1m echo "::error::Invalid synchronization: ${input_sync}. Valid types are 'delta' and 'full'."[0m
2024-03-28T06:13:43.6849297Z [36;1m exit 1[0m
2024-03-28T06:13:43.6849590Z [36;1mfi[0m
2024-03-28T06:13:43.6849968Z [36;1m[0m
2024-03-28T06:13:43.6850299Z [36;1mecho "::endgroup::"[0m
2024-03-28T06:13:43.6850732Z [36;1m[0m
2024-03-28T06:13:43.6850996Z [36;1m[0m
2024-03-28T06:13:43.6851302Z [36;1m[0m
2024-03-28T06:13:43.6851682Z [36;1mif [ "true" == "true" ]; then[0m
2024-03-28T06:13:43.6852125Z [36;1m echo "::group::Debug"[0m
2024-03-28T06:13:43.6852505Z [36;1m[0m
2024-03-28T06:13:43.6853128Z [36;1m echo "Context: github.event" && cat /home/runner/work/_temp/_github_workflow/event.json && show_hr[0m
2024-03-28T06:13:43.6853826Z [36;1m[0m
2024-03-28T06:13:43.6854192Z [36;1m echo "Context: env" && echo "{}" && show_hr[0m
2024-03-28T06:13:43.6854716Z [36;1m[0m
2024-03-28T06:13:43.6855016Z [36;1m echo "Inputs:" && echo "{[0m
2024-03-28T06:13:43.6855463Z [36;1m "remote-protocol": "ftp",[0m
2024-03-28T06:13:43.6856124Z [36;1m "remote-host": "93.254.12.198.host.secureserver.net",[0m
2024-03-28T06:13:43.6856765Z [36;1m "remote-user": "id_github_actions@wellnessfromfood.com",[0m
2024-03-28T06:13:43.6857604Z [36;1m "remote-password": "***",[0m
2024-03-28T06:13:43.6858111Z [36;1m "remote-path": "DeploymentTest1",[0m
2024-03-28T06:13:43.6858554Z [36;1m "debug": "true",[0m
2024-03-28T06:13:43.6858926Z [36;1m "remote-port": "22",[0m
2024-03-28T06:13:43.6859409Z [36;1m "ssh-private-key": "",[0m
2024-03-28T06:13:43.6859811Z [36;1m "proxy": "false",[0m
2024-03-28T06:13:43.6860153Z [36;1m "proxy-host": "",[0m
2024-03-28T06:13:43.6860618Z [36;1m "proxy-port": "22",[0m
2024-03-28T06:13:43.6861040Z [36;1m "proxy-forwarding-port": "1080",[0m
2024-03-28T06:13:43.6861562Z [36;1m "proxy-user": "",[0m
2024-03-28T06:13:43.6861917Z [36;1m "proxy-private-key": "",[0m
2024-03-28T06:13:43.6862325Z [36;1m "local-path": ".",[0m
2024-03-28T06:13:43.6862786Z [36;1m "sync": "delta",[0m
2024-03-28T06:13:43.6863175Z [36;1m "sync-delta-excludes": "",[0m
2024-03-28T06:13:43.6863554Z [36;1m "ssh-options": "",[0m
2024-03-28T06:13:43.6864010Z [36;1m "ftp-options": "",[0m
2024-03-28T06:13:43.6864403Z [36;1m "ftp-mirror-options": "",[0m
2024-03-28T06:13:43.6864855Z [36;1m "ftp-post-sync-commands": "",[0m
2024-03-28T06:13:43.6865343Z [36;1m "webhook": "",[0m
2024-03-28T06:13:43.6865671Z [36;1m "artifacts": ""[0m
2024-03-28T06:13:43.6866036Z [36;1m}"[0m
2024-03-28T06:13:43.6866572Z [36;1m[0m
2024-03-28T06:13:43.6866919Z [36;1m echo "::endgroup::"[0m
2024-03-28T06:13:43.6867259Z [36;1mfi[0m
2024-03-28T06:13:43.6867637Z [36;1m[0m
2024-03-28T06:13:43.6867942Z [36;1m[0m
2024-03-28T06:13:43.6868226Z [36;1m[0m
2024-03-28T06:13:43.6868672Z [36;1mecho "::group::Install packages"[0m
2024-03-28T06:13:43.6869108Z [36;1m[0m
2024-03-28T06:13:43.6869450Z [36;1mapt_install=""[0m
2024-03-28T06:13:43.6869908Z [36;1mapt_quiet="--quiet --quiet"[0m
2024-03-28T06:13:43.6870455Z [36;1mif [ "true" == "true" ]; then[0m
2024-03-28T06:13:43.6870868Z [36;1m apt_quiet=""[0m
2024-03-28T06:13:43.6871305Z [36;1mfi[0m
2024-03-28T06:13:43.6871606Z [36;1m[0m
2024-03-28T06:13:43.6872351Z [36;1msudo apt-get ${apt_quiet} update && sudo apt-get ${apt_quiet} --no-install-recommends --yes install lftp ${proxy_cmd}[0m
2024-03-28T06:13:43.6873053Z [36;1m[0m
2024-03-28T06:13:43.6873359Z [36;1mecho "::endgroup::"[0m
2024-03-28T06:13:43.6873797Z [36;1m[0m
2024-03-28T06:13:43.6874092Z [36;1m[0m
2024-03-28T06:13:43.6874342Z [36;1m[0m
2024-03-28T06:13:43.6874750Z [36;1mecho "::group::Configurations"[0m
2024-03-28T06:13:43.6875153Z [36;1m[0m
2024-03-28T06:13:43.6875459Z [36;1mconfig_ssh=~/.ssh/config[0m
2024-03-28T06:13:43.6876388Z [36;1mmkdir ~/.ssh && echo -e "ExitOnForwardFailure=yes\nStrictHostKeyChecking=no" > ${config_ssh} && chmod 600 ${config_ssh} && echo "File created: ${config_ssh}"[0m
2024-03-28T06:13:43.6877327Z [36;1m[ "true" == "true" ] && cat ${config_ssh}[0m
2024-03-28T06:13:43.6877786Z [36;1mshow_hr[0m
2024-03-28T06:13:43.6878170Z [36;1m[0m
2024-03-28T06:13:43.6878466Z [36;1mnetrc=~/.netrc[0m
2024-03-28T06:13:43.6879434Z [36;1mecho "machine 93.254.12.198.host.secureserver.net login id_github_actions@wellnessfromfood.com password ${input_remote_password}" > ${netrc} && chmod 600 ${netrc} && echo "File created: ${netrc}"[0m
2024-03-28T06:13:43.6880568Z [36;1m[ "true" == "true" ] && cat ${netrc}[0m
2024-03-28T06:13:43.6880988Z [36;1mshow_hr[0m
2024-03-28T06:13:43.6881319Z [36;1m[0m
2024-03-28T06:13:43.6881743Z [36;1mif [ "ftp" == "sftp" ] && [ "" != "" ]; then[0m
2024-03-28T06:13:43.6882174Z [36;1m key_ssh=~/ssh_private_key[0m
2024-03-28T06:13:43.6882802Z [36;1m echo "" > ${key_ssh} && chmod 600 ${key_ssh} && echo "File created: ${key_ssh}" && show_hr[0m
2024-03-28T06:13:43.6883459Z [36;1mfi[0m
2024-03-28T06:13:43.6883771Z [36;1m[0m
2024-03-28T06:13:43.6884079Z [36;1mif [ "${input_proxy}" == "true" ]; then[0m
2024-03-28T06:13:43.6884603Z [36;1m if [ "" != "" ]; then[0m
2024-03-28T06:13:43.6885035Z [36;1m key_proxy=~/proxy_private_key[0m
2024-03-28T06:13:43.6885762Z [36;1m echo "" > ${key_proxy} && chmod 600 ${key_proxy} && echo "File created: ${key_proxy}" && show_hr[0m
2024-03-28T06:13:43.6886399Z [36;1m[0m
2024-03-28T06:13:43.6887045Z [36;1m config_proxychains=~/.proxychains/proxychains.conf[0m
2024-03-28T06:13:43.6887722Z [36;1m mkdir ~/.proxychains && echo "strict_chain[0m
2024-03-28T06:13:43.6888215Z [36;1m quiet_mode[0m
2024-03-28T06:13:43.6888579Z [36;1m tcp_read_time_out 15000[0m
2024-03-28T06:13:43.6889064Z [36;1m tcp_connect_time_out 10000[0m
2024-03-28T06:13:43.6889460Z [36;1m [ProxyList][0m
2024-03-28T06:13:43.6890054Z [36;1m socks5 127.0.0.1 1080" > ${config_proxychains} && echo "File created: ${config_proxychains}"[0m
2024-03-28T06:13:43.6890843Z [36;1m [ "true" == "true" ] && cat ${config_proxychains}[0m
2024-03-28T06:13:43.6891340Z [36;1m show_hr[0m
2024-03-28T06:13:43.6891649Z [36;1m else[0m
2024-03-28T06:13:43.6892064Z [36;1m input_proxy="false"[0m
2024-03-28T06:13:43.6892675Z [36;1m echo "::warning::Invalid input 'proxy-private-key'. Skipping proxy connection."[0m
2024-03-28T06:13:43.6893284Z [36;1m fi[0m
2024-03-28T06:13:43.6893674Z [36;1mfi[0m
2024-03-28T06:13:43.6893937Z [36;1m[0m
2024-03-28T06:13:43.6894362Z [36;1mecho "debug $([ "true" == "true" ] && echo "9" || echo "false")[0m
2024-03-28T06:13:43.6895272Z [36;1mset cmd:trace $([ "true" == "true" ] && echo "true" || echo "false")[0m
2024-03-28T06:13:43.6895860Z [36;1mset ftp:ssl-protect-data true[0m
2024-03-28T06:13:43.6896266Z [36;1mset ftp:sync-mode false[0m
2024-03-28T06:13:43.6896741Z [36;1mset log:enabled/xfer true[0m
2024-03-28T06:13:43.6897183Z [36;1mset log:file/xfer ~/transfer_log.txt[0m
2024-03-28T06:13:43.6897717Z [36;1mset log:show-time/xfer false[0m
2024-03-28T06:13:43.6898138Z [36;1mset mirror:overwrite true[0m
2024-03-28T06:13:43.6898614Z [36;1mset mirror:parallel-transfer-count 3[0m
2024-03-28T06:13:43.6899317Z [36;1mset mirror:set-permissions false[0m
2024-03-28T06:13:43.6899722Z [36;1mset net:max-retries 1[0m
2024-03-28T06:13:43.6900131Z [36;1mset net:persist-retries 0[0m
2024-03-28T06:13:43.6900599Z [36;1mset net:timeout 10[0m
2024-03-28T06:13:43.6901002Z [36;1mset sftp:auto-confirm true[0m
2024-03-28T06:13:43.6901391Z [36;1mset ssl:check-hostname false[0m
2024-03-28T06:13:43.6901900Z [36;1mset ssl:verify-certificate false[0m
2024-03-28T06:13:43.6902356Z [36;1mset xfer:parallel 3[0m
2024-03-28T06:13:43.6902728Z [36;1m" > ~/.lftprc[0m
2024-03-28T06:13:43.6903211Z [36;1mif [ "ftp" == "sftp" ] && [ "" != "" ]; then[0m
2024-03-28T06:13:43.6903890Z [36;1m echo "set sftp:connect-program /usr/bin/ssh -a -x -i ~/ssh_private_key " >> ~/.lftprc[0m
2024-03-28T06:13:43.6904524Z [36;1melse[0m
2024-03-28T06:13:43.6905080Z [36;1m echo "set sftp:connect-program /usr/bin/ssh -a -x " >> ~/.lftprc[0m
2024-03-28T06:13:43.6905628Z [36;1mfi[0m
2024-03-28T06:13:43.6906371Z [36;1mecho "open ftp://id_github_actions@wellnessfromfood.com@93.254.12.198.host.secureserver.net:22" >> ~/.lftprc[0m
2024-03-28T06:13:43.6907105Z [36;1mecho "File created: ~/.lftprc"[0m
2024-03-28T06:13:43.6907566Z [36;1m[ "true" == "true" ] && cat ~/.lftprc[0m
2024-03-28T06:13:43.6908057Z [36;1m[0m
2024-03-28T06:13:43.6908391Z [36;1mecho "::endgroup::"[0m
2024-03-28T06:13:43.6908719Z [36;1m[0m
2024-03-28T06:13:43.6909077Z [36;1m[0m
2024-03-28T06:13:43.6909384Z [36;1m[0m
2024-03-28T06:13:43.6909731Z [36;1mif [ "${input_proxy}" == "true" ]; then[0m
2024-03-28T06:13:43.6910243Z [36;1m echo "::group::Setup proxy"[0m
2024-03-28T06:13:43.6910647Z [36;1m[0m
2024-03-28T06:13:43.6910985Z [36;1m if [ "" != "" ] && [ "" != "" ]; then[0m
2024-03-28T06:13:43.6911656Z [36;1m if ssh -A -D 1080 -f -N -p 22 -i ~/proxy_private_key @; then[0m
2024-03-28T06:13:43.6912665Z [36;1m echo "Proxy connected" && show_hr && echo "Proxy IP address: $(${proxy_cmd} curl --max-time 10 --show-error --silent "http://checkip.amazonaws.com/")"[0m
2024-03-28T06:13:43.6913492Z [36;1m else[0m
2024-03-28T06:13:43.6914034Z [36;1m echo "::error::Proxy connection failed."[0m
2024-03-28T06:13:43.6914492Z [36;1m exit 1[0m
2024-03-28T06:13:43.6914849Z [36;1m fi[0m
2024-03-28T06:13:43.6915234Z [36;1m else[0m
2024-03-28T06:13:43.6915526Z [36;1m input_proxy="false"[0m
2024-03-28T06:13:43.6916174Z [36;1m echo "::warning::Invalid input 'proxy-user', 'proxy-host'. Skipping proxy connection."[0m
2024-03-28T06:13:43.6916865Z [36;1m fi[0m
2024-03-28T06:13:43.6917172Z [36;1m[0m
2024-03-28T06:13:43.6917467Z [36;1m echo "::endgroup::"[0m
2024-03-28T06:13:43.6917907Z [36;1mfi[0m
2024-03-28T06:13:43.6918221Z [36;1m[0m
2024-03-28T06:13:43.6918584Z [36;1m[0m
2024-03-28T06:13:43.6918841Z [36;1m[0m
2024-03-28T06:13:43.6919186Z [36;1mecho "::group::Prepare files"[0m
2024-03-28T06:13:43.6919650Z [36;1m[0m
2024-03-28T06:13:43.6919978Z [36;1mecho "Event: workflow_dispatch[0m
2024-03-28T06:13:43.6920785Z [36;1mRevision: https://github.com/WellnessFromFood/WebSiteApplication/commit/2545556f7a857a8d4830cbf0a85459cac406dcdb[0m
2024-03-28T06:13:43.6921660Z [36;1mCommitter: jwdonahue[0m
2024-03-28T06:13:43.6922052Z [36;1mMessage: " && show_hr[0m
2024-03-28T06:13:43.6922436Z [36;1m[0m
2024-03-28T06:13:43.6923565Z [36;1mecho "2545556f7a857a8d4830cbf0a85459cac406dcdb" > "${local_path_slash}.deploy-revision" && echo "File created: ${local_path_slash}.deploy-revision" && cat "${local_path_slash}.deploy-revision" && show_hr[0m
2024-03-28T06:13:43.6924637Z [36;1m[0m
2024-03-28T06:13:43.6924954Z [36;1mif [ "${input_sync}" == "delta" ]; then[0m
2024-03-28T06:13:43.6925537Z [36;1m touch ~/files_to_upload ~/files_to_delete[0m
2024-03-28T06:13:43.6926074Z [36;1m git_depth=$(git rev-list --count --all)[0m
2024-03-28T06:13:43.6926539Z [36;1m git_previous_commit=""[0m
2024-03-28T06:13:43.6927216Z [36;1m[0m
2024-03-28T06:13:43.6927567Z [36;1m if [ "${git_depth}" -gt 1 ]; then[0m
2024-03-28T06:13:43.6928223Z [36;1m if [ "workflow_dispatch" == "push" ]; then[0m
2024-03-28T06:13:43.6928791Z [36;1m git_previous_commit=[0m
2024-03-28T06:13:43.6929295Z [36;1m elif [ "workflow_dispatch" == "pull_request" ]; then[0m
2024-03-28T06:13:43.6929792Z [36;1m git_previous_commit=[0m
2024-03-28T06:13:43.6930372Z [36;1m elif [ "workflow_dispatch" == "workflow_dispatch" ]; then[0m
2024-03-28T06:13:43.6931105Z [36;1m git_previous_commit=$(git rev-parse 2545556f7a857a8d4830cbf0a85459cac406dcdb^)[0m
2024-03-28T06:13:43.6931786Z [36;1m else[0m
2024-03-28T06:13:43.6932608Z [36;1m echo "::error::Event not supported for delta synchronization: workflow_dispatch. Supported events are 'push', 'pull_request' and 'workflow_dispatch'."[0m
2024-03-28T06:13:43.6933457Z [36;1m exit 1[0m
2024-03-28T06:13:43.6933874Z [36;1m fi[0m
2024-03-28T06:13:43.6934188Z [36;1m else[0m
2024-03-28T06:13:43.6935221Z [36;1m echo "::error::Commit history not found for delta synchronization. Please ensure you have 'fetch-depth: 0' option in checkout action. Please ignore if this is an initial commit or newly created branch."[0m
2024-03-28T06:13:43.6936370Z [36;1m exit 1[0m
2024-03-28T06:13:43.6936668Z [36;1m fi[0m
2024-03-28T06:13:43.6936992Z [36;1m[0m
2024-03-28T06:13:43.6937784Z [36;1m echo "Previous Revision: https://github.com/WellnessFromFood/WebSiteApplication/commit/${git_previous_commit}" && show_hr[0m
2024-03-28T06:13:43.6938577Z [36;1m[0m
2024-03-28T06:13:43.6939208Z [36;1m # ${proxy_cmd} lftp -c "set log:enabled/xfer false; get -O ~ \"${remote_path_slash}.deploy-revision\"; exit 0"[0m
2024-03-28T06:13:43.6940177Z [36;1m # echo -n "Remote Revision: " && [ -f ~/.deploy-revision ] && cat ~/.deploy-revision || echo ""[0m
2024-03-28T06:13:43.6940828Z [36;1m # show_hr[0m
2024-03-28T06:13:43.6941161Z [36;1m[0m
2024-03-28T06:13:43.6941661Z [36;1m if git cat-file -t ${git_previous_commit} &>/dev/null; then[0m
2024-03-28T06:13:43.6942721Z [36;1m git diff --diff-filter=ACMRT --name-only ${git_previous_commit}..2545556f7a857a8d4830cbf0a85459cac406dcdb -- ${local_path_unslash} ':!/.git' > ~/files_to_upload[0m
2024-03-28T06:13:43.6944140Z [36;1m git diff-tree --diff-filter=D --name-only -t ${git_previous_commit}..2545556f7a857a8d4830cbf0a85459cac406dcdb -- ${local_path_unslash} ':!/.git' > ~/files_to_delete[0m
2024-03-28T06:13:43.6945099Z [36;1m[0m
2024-03-28T06:13:43.6945819Z [36;1m sed --in-place --regexp-extended "s#(.)#realpath --canonicalize-missing --relative-to=$local_path_unslash \1#e" ~/files_to_upload[0m
2024-03-28T06:13:43.6947052Z [36;1m sed --in-place --regexp-extended "s#(.)#realpath --canonicalize-missing --relative-to=$local_path_unslash \1#e" ~/files_to_delete[0m
2024-03-28T06:13:43.6947837Z [36;1m[0m
2024-03-28T06:13:43.6948319Z [36;1m echo "File created: ~/files_to_upload" && cat ~/files_to_upload && show_hr[0m
2024-03-28T06:13:43.6949107Z [36;1m echo "File created: ~/files_to_delete" && cat ~/files_to_delete && show_hr[0m
2024-03-28T06:13:43.6949695Z [36;1m[0m
2024-03-28T06:13:43.6950016Z [36;1m if [ "" == "true" ]; then[0m
2024-03-28T06:13:43.6950967Z [36;1m echo "Copy transfer artifacts" && mkdir ~/transfer_files && rsync --verbose --files-from=$HOME/files_to_upload ${local_path_slash} ~/transfer_files/[0m
2024-03-28T06:13:43.6951841Z [36;1m fi[0m
2024-03-28T06:13:43.6952121Z [36;1m else[0m
2024-03-28T06:13:43.6953170Z [36;1m echo "::warning::Invalid base commit for delta synchronization: ${git_previous_commit}. Please ignore if this is an initial commit or newly created branch."[0m
2024-03-28T06:13:43.6954073Z [36;1m fi[0m
2024-03-28T06:13:43.6954379Z [36;1mfi[0m
2024-03-28T06:13:43.6954763Z [36;1m[0m
2024-03-28T06:13:43.6955042Z [36;1mecho "::endgroup::"[0m
2024-03-28T06:13:43.6955419Z [36;1m[0m
2024-03-28T06:13:43.6955783Z [36;1m[0m
2024-03-28T06:13:43.6956072Z [36;1m[0m
2024-03-28T06:13:43.6956378Z [36;1mecho "::group::Transfer files"[0m
2024-03-28T06:13:43.6956986Z [36;1m[0m
2024-03-28T06:13:43.6957312Z [36;1mecho "Protocol: ftp[0m
2024-03-28T06:13:43.6957780Z [36;1mSynchronization: ${input_sync}[0m
2024-03-28T06:13:43.6958200Z [36;1mLocal path: ${local_path_unslash}[0m
2024-03-28T06:13:43.6958689Z [36;1mRemote path: ${remote_path_unslash}"[0m
2024-03-28T06:13:43.6959175Z [36;1m[0m
2024-03-28T06:13:43.6959857Z [36;1m[ "${input_sync}" == "delta" ] && echo -e "Upload files: $(wc --lines < ~/files_to_upload)\nDelete files: $(wc --lines < ~/files_to_delete)"[0m
2024-03-28T06:13:43.6960623Z [36;1m[0m
2024-03-28T06:13:43.6960950Z [36;1mshow_hr[0m
2024-03-28T06:13:43.6961266Z [36;1m[0m
2024-03-28T06:13:43.6961644Z [36;1mtouch "${local_path_slash}.deploy-running"[0m
2024-03-28T06:13:43.6962152Z [36;1m[0m
2024-03-28T06:13:43.6962473Z [36;1mif [ "${input_sync}" == "full" ]; then[0m
2024-03-28T06:13:43.6963077Z [36;1m ${proxy_cmd} lftp -c "put -O \"${remote_path_unslash}\" .deploy-running;[0m
2024-03-28T06:13:43.6964006Z [36;1m mirror --exclude-glob=.git/ --max-errors=10 --reverse ${local_path_unslash} ${remote_path_unslash};[0m
2024-03-28T06:13:43.6964790Z [36;1m rm -f \"${remote_path_slash}.deploy-running\";[0m
2024-03-28T06:13:43.6965262Z [36;1m "[0m
2024-03-28T06:13:43.6965601Z [36;1melse[0m
2024-03-28T06:13:43.6966031Z [36;1m ${proxy_cmd} lftp -c "lcd \"${local_path_unslash}\";[0m
2024-03-28T06:13:43.6966810Z [36;1m put -O \"${remote_path_unslash}\" .deploy-running;[0m
2024-03-28T06:13:43.6967892Z [36;1m mput -d -O \"${remote_path_unslash}\" .deploy-revision $(awk '{ printf "\"%s\" ", $0 }' ~/files_to_upload);[0m
2024-03-28T06:13:43.6969069Z [36;1m rm -f \"${remote_path_slash}.deploy-check\" $(awk -v REMOTEPATH=\"${remote_path_slash}\" '{ printf "\"%s%s\" ", REMOTEPATH, $0 }' ~/files_to_delete);[0m
2024-03-28T06:13:43.6969944Z [36;1m rm -f \"${remote_path_slash}.deploy-running\";[0m
2024-03-28T06:13:43.6970516Z [36;1m "[0m
2024-03-28T06:13:43.6970825Z [36;1mfi[0m
2024-03-28T06:13:43.6971201Z [36;1m[0m
2024-03-28T06:13:43.6971575Z [36;1m[ -f ~/transfer_log.txt ] && cat ~/transfer_log.txt[0m
2024-03-28T06:13:43.6972048Z [36;1m[0m
2024-03-28T06:13:43.6972431Z [36;1mecho "::endgroup::"[0m
2024-03-28T06:13:43.6972792Z [36;1m[0m
2024-03-28T06:13:43.6973076Z [36;1m[0m
2024-03-28T06:13:43.6973417Z [36;1m[0m
2024-03-28T06:13:43.6973729Z [36;1mecho "::group::Cleanup"[0m
2024-03-28T06:13:43.6974102Z [36;1m[0m
2024-03-28T06:13:43.6974560Z [36;1m[ "${input_proxy}" == "true" ] && sudo pkill ssh[0m
2024-03-28T06:13:43.6974991Z [36;1m[0m
2024-03-28T06:13:43.6975443Z [36;1mrm --force --verbose ~/.netrc ~/proxy_private_key ~/ssh_private_key[0m
2024-03-28T06:13:43.6976058Z [36;1m[0m
2024-03-28T06:13:43.6976451Z [36;1m[ "" != "true" ] && rm --force --verbose ~/transfer_log.txt[0m
2024-03-28T06:13:43.6976910Z [36;1m[0m
2024-03-28T06:13:43.6977438Z [36;1m[ "" != "" ] && echo "Webhook notification (finish): $(send_webhook "finish")"[0m
2024-03-28T06:13:43.6977987Z [36;1m[0m
2024-03-28T06:13:43.6978308Z [36;1mecho "::endgroup::"[0m
2024-03-28T06:13:43.6978727Z [36;1m[0m
2024-03-28T06:13:43.6978983Z [36;1mexit 0[0m
2024-03-28T06:13:43.7018112Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2024-03-28T06:13:43.7018658Z ##[endgroup]
2024-03-28T06:13:43.7142724Z ##[group]Initialization
2024-03-28T06:13:43.7150241Z Check repository
2024-03-28T06:13:43.7170302Z Initialize inputs
2024-03-28T06:13:43.7208599Z Validate inputs
2024-03-28T06:13:43.7210294Z ##[endgroup]
2024-03-28T06:13:43.7211590Z ##[group]Debug
2024-03-28T06:13:43.7212432Z Context: github.event
2024-03-28T06:13:43.7221958Z {
2024-03-28T06:13:43.7222466Z "inputs": {
2024-03-28T06:13:43.7223243Z "sync": "full"
2024-03-28T06:13:43.7224058Z },
2024-03-28T06:13:43.7224801Z "organization": {
2024-03-28T06:13:43.7232322Z "avatar_url": "https://avatars.githubusercontent.com/u/72411370?v=4",
2024-03-28T06:13:43.7233540Z "description": null,
2024-03-28T06:13:43.7238868Z /home/runner/work/_temp/17d7fe26-4961-400a-9672-15f9a1bc5e92.sh: line 107: $'YwVn5qT7E\YJ12cLGiJM?CQs3=PMBU5eP^??#i+7#z7oMzwY.bfh1mm2:e7+l,\n remote-path: DeploymentTest1,\n debug: true,\n remote-port: 22,\n ssh-private-key: ,\n proxy: false,\n proxy-host: ,\n proxy-port: 22,\n proxy-forwarding-port: 1080,\n proxy-user: ,\n proxy-private-key: ,\n local-path: .,\n sync: delta,\n sync-delta-excludes: ,\n ssh-options: ,\n ftp-options: ,\n ftp-mirror-options: ,\n ftp-post-sync-commands: ,\n webhook: ,\n artifacts: \n}': command not found
2024-03-28T06:13:43.7243798Z "events_url": "https://api.github.com/orgs/WellnessFromFood/events",
2024-03-28T06:13:43.7244928Z "hooks_url": "https://api.github.com/orgs/WellnessFromFood/hooks",
2024-03-28T06:13:43.7245888Z "id": 72411370,
2024-03-28T06:13:43.7246868Z "issues_url": "https://api.github.com/orgs/WellnessFromFood/issues",
2024-03-28T06:13:43.7247812Z "login": "WellnessFromFood",
2024-03-28T06:13:43.7248863Z "members_url": "https://api.github.com/orgs/WellnessFromFood/members{/member}",
2024-03-28T06:13:43.7249984Z "node_id": "MDEyOk9yZ2FuaXphdGlvbjcyNDExMzcw",
2024-03-28T06:13:43.7251175Z "public_members_url": "https://api.github.com/orgs/WellnessFromFood/public_members{/member}",
2024-03-28T06:13:43.7252463Z "repos_url": "https://api.github.com/orgs/WellnessFromFood/repos",
2024-03-28T06:13:43.7253104Z "url": "https://api.github.com/orgs/WellnessFromFood"
2024-03-28T06:13:43.7253599Z },
2024-03-28T06:13:43.7254000Z "ref": "refs/heads/main",
2024-03-28T06:13:43.7254364Z "repository": {
2024-03-28T06:13:43.7254711Z "allow_forking": false,
2024-03-28T06:13:43.7255473Z "archive_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/{archive_format}{/ref}",
2024-03-28T06:13:43.7256238Z "archived": false,
2024-03-28T06:13:43.7256952Z "assignees_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/assignees{/user}",
2024-03-28T06:13:43.7257892Z "blobs_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/git/blobs{/sha}",
2024-03-28T06:13:43.7258876Z "branches_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/branches{/branch}",
2024-03-28T06:13:43.7259805Z "clone_url": "https://github.com/WellnessFromFood/WebSiteApplication.git",
2024-03-28T06:13:43.7260768Z "collaborators_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/collaborators{/collaborator}",
2024-03-28T06:13:43.7261814Z "comments_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/comments{/number}",
2024-03-28T06:13:43.7262800Z "commits_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/commits{/sha}",
2024-03-28T06:13:43.7263801Z "compare_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/compare/{base}...{head}",
2024-03-28T06:13:43.7264795Z "contents_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/contents/{+path}",
2024-03-28T06:13:43.7265841Z "contributors_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/contributors",
2024-03-28T06:13:43.7266641Z "created_at": "2024-03-06T19:46:26Z",
2024-03-28T06:13:43.7267030Z "custom_properties": {},
2024-03-28T06:13:43.7267497Z "default_branch": "main",
2024-03-28T06:13:43.7268156Z "deployments_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/deployments",
2024-03-28T06:13:43.7268835Z "description": null,
2024-03-28T06:13:43.7269420Z "disabled": false,
2024-03-28T06:13:43.7270041Z "downloads_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/downloads",
2024-03-28T06:13:43.7270994Z "events_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/events",
2024-03-28T06:13:43.7271706Z "fork": false,
2024-03-28T06:13:43.7272028Z "forks": 0,
2024-03-28T06:13:43.7272333Z "forks_count": 0,
2024-03-28T06:13:43.7272973Z "forks_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/forks",
2024-03-28T06:13:43.7273855Z "full_name": "WellnessFromFood/WebSiteApplication",
2024-03-28T06:13:43.7274721Z "git_commits_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/git/commits{/sha}",
2024-03-28T06:13:43.7275698Z "git_refs_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/git/refs{/sha}",
2024-03-28T06:13:43.7276618Z "git_tags_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/git/tags{/sha}",
2024-03-28T06:13:43.7277503Z "git_url": "git://github.com/WellnessFromFood/WebSiteApplication.git",
2024-03-28T06:13:43.7278064Z "has_discussions": true,
2024-03-28T06:13:43.7278456Z "has_downloads": true,
2024-03-28T06:13:43.7278842Z "has_issues": true,
2024-03-28T06:13:43.7279189Z "has_pages": false,
2024-03-28T06:13:43.7279546Z "has_projects": true,
2024-03-28T06:13:43.7279965Z "has_wiki": false,
2024-03-28T06:13:43.7280283Z "homepage": null,
2024-03-28T06:13:43.7280854Z "hooks_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/hooks",
2024-03-28T06:13:43.7281701Z "html_url": "https://github.com/WellnessFromFood/WebSiteApplication",
2024-03-28T06:13:43.7282247Z "id": 768278883,
2024-03-28T06:13:43.7282580Z "is_template": false,
2024-03-28T06:13:43.7283315Z "issue_comment_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/issues/comments{/number}",
2024-03-28T06:13:43.7284394Z "issue_events_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/issues/events{/number}",
2024-03-28T06:13:43.7285379Z "issues_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/issues{/number}",
2024-03-28T06:13:43.7286382Z "keys_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/keys{/key_id}",
2024-03-28T06:13:43.7287616Z "labels_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/labels{/name}",
2024-03-28T06:13:43.7288244Z "language": "PHP",
2024-03-28T06:13:43.7289063Z "languages_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/languages",
2024-03-28T06:13:43.7289709Z "license": {
2024-03-28T06:13:43.7290104Z "key": "mit",
2024-03-28T06:13:43.7290422Z "name": "MIT License",
2024-03-28T06:13:43.7290830Z "node_id": "MDc6TGljZW5zZTEz",
2024-03-28T06:13:43.7291311Z "spdx_id": "MIT",
2024-03-28T06:13:43.7291707Z "url": "https://api.github.com/licenses/mit"
2024-03-28T06:13:43.7292109Z },
2024-03-28T06:13:43.7292723Z "merges_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/merges",
2024-03-28T06:13:43.7293655Z "milestones_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/milestones{/number}",
2024-03-28T06:13:43.7294356Z "mirror_url": null,
2024-03-28T06:13:43.7294803Z "name": "WebSiteApplication",
2024-03-28T06:13:43.7295167Z "node_id": "R_kgDOLcsBYw",
2024-03-28T06:13:43.7295972Z "notifications_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/notifications{?since,all,participating}",
2024-03-28T06:13:43.7296866Z "open_issues": 1,
2024-03-28T06:13:43.7297208Z "open_issues_count": 1,
2024-03-28T06:13:43.7297545Z "owner": {
2024-03-28T06:13:43.7298078Z "avatar_url": "https://avatars.githubusercontent.com/u/72411370?v=4",
2024-03-28T06:13:43.7298842Z "events_url": "https://api.github.com/users/WellnessFromFood/events{/privacy}",
2024-03-28T06:13:43.7300108Z "followers_url": "https://api.github.com/users/WellnessFromFood/followers",
2024-03-28T06:13:43.7301497Z "following_url": "https://api.github.com/users/WellnessFromFood/following{/other_user}",
2024-03-28T06:13:43.7302833Z "gists_url": "https://api.github.com/users/WellnessFromFood/gists{/gist_id}",
2024-03-28T06:13:43.7303978Z "gravatar_id": "",
2024-03-28T06:13:43.7304711Z "html_url": "https://github.com/WellnessFromFood",
2024-03-28T06:13:43.7305515Z "id": 72411370,
2024-03-28T06:13:43.7306412Z "login": "WellnessFromFood",
2024-03-28T06:13:43.7307168Z "node_id": "MDEyOk9yZ2FuaXphdGlvbjcyNDExMzcw",
2024-03-28T06:13:43.7308279Z "organizations_url": "https://api.github.com/users/WellnessFromFood/orgs",
2024-03-28T06:13:43.7309551Z "received_events_url": "https://api.github.com/users/WellnessFromFood/received_events",
2024-03-28T06:13:43.7310886Z "repos_url": "https://api.github.com/users/WellnessFromFood/repos",
2024-03-28T06:13:43.7311809Z "site_admin": false,
2024-03-28T06:13:43.7312841Z "starred_url": "https://api.github.com/users/WellnessFromFood/starred{/owner}{/repo}",
2024-03-28T06:13:43.7314266Z "subscriptions_url": "https://api.github.com/users/WellnessFromFood/subscriptions",
2024-03-28T06:13:43.7315435Z "type": "Organization",
2024-03-28T06:13:43.7316211Z "url": "https://api.github.com/users/WellnessFromFood"
2024-03-28T06:13:43.7317071Z },
2024-03-28T06:13:43.7317624Z "private": true,
2024-03-28T06:13:43.7318645Z "pulls_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/pulls{/number}",
2024-03-28T06:13:43.7319910Z "pushed_at": "2024-03-28T06:12:55Z",
2024-03-28T06:13:43.7321074Z "releases_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/releases{/id}",
2024-03-28T06:13:43.7322190Z "size": 1890,
2024-03-28T06:13:43.7322982Z "ssh_url": "git@github.com:WellnessFromFood/WebSiteApplication.git",
2024-03-28T06:13:43.7323743Z "stargazers_count": 0,
2024-03-28T06:13:43.7324387Z "stargazers_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/stargazers",
2024-03-28T06:13:43.7325460Z "statuses_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/statuses/{sha}",
2024-03-28T06:13:43.7326439Z "subscribers_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/subscribers",
2024-03-28T06:13:43.7328743Z "subscription_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/subscription",
2024-03-28T06:13:43.7329741Z "svn_url": "https://github.com/WellnessFromFood/WebSiteApplication",
2024-03-28T06:13:43.7330499Z "tags_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/tags",
2024-03-28T06:13:43.7331351Z "teams_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/teams",
2024-03-28T06:13:43.7332037Z "topics": [],
2024-03-28T06:13:43.7332611Z "trees_url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication/git/trees{/sha}",
2024-03-28T06:13:43.7333396Z "updated_at": "2024-03-06T23:31:58Z",
2024-03-28T06:13:43.7334058Z "url": "https://api.github.com/repos/WellnessFromFood/WebSiteApplication",
2024-03-28T06:13:43.7334646Z "visibility": "private",
2024-03-28T06:13:43.7335004Z "watchers": 0,
2024-03-28T06:13:43.7335410Z "watchers_count": 0,
2024-03-28T06:13:43.7335800Z "web_commit_signoff_required": false
2024-03-28T06:13:43.7336400Z },
2024-03-28T06:13:43.7336667Z "sender": {
2024-03-28T06:13:43.7337166Z "avatar_url": "https://avatars.githubusercontent.com/u/9858984?v=4",
2024-03-28T06:13:43.7337927Z "events_url": "https://api.github.com/users/jwdonahue/events{/privacy}",
2024-03-28T06:13:43.7338604Z "followers_url": "https://api.github.com/users/jwdonahue/followers",
2024-03-28T06:13:43.7339329Z "following_url": "https://api.github.com/users/jwdonahue/following{/other_user}",
2024-03-28T06:13:43.7340273Z "gists_url": "https://api.github.com/users/jwdonahue/gists{/gist_id}",
2024-03-28T06:13:43.7340862Z "gravatar_id": "",
2024-03-28T06:13:43.7341267Z "html_url": "https://github.com/jwdonahue",
2024-03-28T06:13:43.7341786Z "id": 9858984,
2024-03-28T06:13:43.7342104Z "login": "jwdonahue",
2024-03-28T06:13:43.7342487Z "node_id": "MDQ6VXNlcjk4NTg5ODQ=",
2024-03-28T06:13:43.7343104Z "organizations_url": "https://api.github.com/users/jwdonahue/orgs",
2024-03-28T06:13:43.7343829Z "received_events_url": "https://api.github.com/users/jwdonahue/received_events",
2024-03-28T06:13:43.7344656Z "repos_url": "https://api.github.com/users/jwdonahue/repos",
2024-03-28T06:13:43.7345210Z "site_admin": false,
2024-03-28T06:13:43.7345739Z "starred_url": "https://api.github.com/users/jwdonahue/starred{/owner}{/repo}",
2024-03-28T06:13:43.7346488Z "subscriptions_url": "https://api.github.com/users/jwdonahue/subscriptions",
2024-03-28T06:13:43.7347138Z "type": "User",
2024-03-28T06:13:43.7347500Z "url": "https://api.github.com/users/jwdonahue"
2024-03-28T06:13:43.7347957Z },
2024-03-28T06:13:43.7348361Z "workflow": ".github/workflows/main.yml"
2024-03-28T06:13:43.7348917Z }____
2024-03-28T06:13:43.7349414Z Context: env
2024-03-28T06:13:43.7349792Z {}
2024-03-28T06:13:43.7350205Z ____
2024-03-28T06:13:43.7350811Z Inputs:
2024-03-28T06:13:43.7351072Z {
2024-03-28T06:13:43.7351419Z remote-protocol: ftp,
2024-03-28T06:13:43.7351978Z remote-host: 93.254.12.198.host.secureserver.net,
2024-03-28T06:13:43.7352559Z remote-user: id_github_actions@wellnessfromfood.com,
2024-03-28T06:13:43.7353084Z remote-password: XFUu
2024-03-28T06:13:43.7363931Z ##[error]Process completed with exit code 127.
2024-03-28T06:13:43.7465560Z Post job cleanup.
2024-03-28T06:13:43.8210203Z [command]/usr/bin/git version
2024-03-28T06:13:43.8265805Z git version 2.43.2
2024-03-28T06:13:43.8318676Z Temporarily overriding HOME='/home/runner/work/_temp/3159e2d2-b842-4703-b436-7bb13be0fc6f' before making global git config changes
2024-03-28T06:13:43.8324472Z Adding repository directory to the temporary git global config as a safe directory
2024-03-28T06:13:43.8335332Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/WebSiteApplication/WebSiteApplication
2024-03-28T06:13:43.8389834Z [command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
2024-03-28T06:13:43.8452781Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2024-03-28T06:13:43.8697637Z [command]/usr/bin/git config --local --name-only --get-regexp http.https\:\/\/github.com\/.extraheader
2024-03-28T06:13:43.8721506Z http.https://github.com/.extraheader
2024-03-28T06:13:43.8735148Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2024-03-28T06:13:43.8768586Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https\:\/\/github.com\/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2024-03-28T06:13:43.9294323Z Cleaning up orphan processes
Sorry I could not figure out what is causing the SSH transfer to fail.
The 127 result indicates that bash could not find a command.
The action status is green, but I get this in the logs:
Protocol: ftp Synchronization: full Local path: . Remote path: /home/wellnessfromfood/DeploymentTest1
Peer closed connection put: .deploy-running: Fatal error: max-retries exceeded Peer closed connection Peer closed connection mirror: Fatal error: max-retries exceeded Peer closed connection
Any clues?
No files were ever uploaded, as far as I can find on the destination server.