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

File deployer failing silently. #31

Open jwdonahue opened 5 months ago

jwdonahue commented 5 months ago

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.

milanmk commented 5 months ago

Try setting debug input which will show verbose logs of FTP connection.

jwdonahue commented 5 months ago

How is that accomplished?

milanmk commented 5 months ago

https://github.com/milanmk/actions-file-deployer?tab=readme-ov-file#inputs

jwdonahue commented 5 months ago

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.

jwdonahue commented 5 months ago

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.

milanmk commented 5 months ago

Please share the entire log for the workflow.

jwdonahue commented 5 months ago

logs_22189326395 (1).zip

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

jwdonahue commented 5 months ago

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 2024-03-28T06:13:42.6254128Z hint: 2024-03-28T06:13:42.6255142Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and 2024-03-28T06:13:42.6256592Z hint: 'development'. The just-created branch can be renamed via this command: 2024-03-28T06:13:42.6257685Z hint: 2024-03-28T06:13:42.6258309Z hint: git branch -m 2024-03-28T06:13:42.6259156Z Initialized empty Git repository in /home/runner/work/WebSiteApplication/WebSiteApplication/.git/ 2024-03-28T06:13:42.6260884Z [command]/usr/bin/git remote add origin https://github.com/WellnessFromFood/WebSiteApplication 2024-03-28T06:13:42.6279856Z ##[endgroup] 2024-03-28T06:13:42.6280873Z ##[group]Disabling automatic garbage collection 2024-03-28T06:13:42.6284580Z [command]/usr/bin/git config --local gc.auto 0 2024-03-28T06:13:42.6318315Z ##[endgroup] 2024-03-28T06:13:42.6319322Z ##[group]Setting up auth 2024-03-28T06:13:42.6322589Z [command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand 2024-03-28T06:13:42.6357340Z [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:42.6671273Z [command]/usr/bin/git config --local --name-only --get-regexp http.https\:\/\/github.com\/.extraheader 2024-03-28T06:13:42.6708436Z [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:42.6946725Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic 2024-03-28T06:13:42.7011510Z ##[endgroup] 2024-03-28T06:13:42.7013136Z ##[group]Fetching the repository 2024-03-28T06:13:42.7024730Z [command]/usr/bin/git -c protocol.version=2 fetch --prune --no-recurse-submodules origin +refs/heads/:refs/remotes/origin/ +refs/tags/:refs/tags/ 2024-03-28T06:13:43.4954175Z From https://github.com/WellnessFromFood/WebSiteApplication 2024-03-28T06:13:43.4956306Z * [new branch] main -> origin/main 2024-03-28T06:13:43.4983645Z [command]/usr/bin/git branch --list --remote origin/main 2024-03-28T06:13:43.5007953Z origin/main 2024-03-28T06:13:43.5018259Z [command]/usr/bin/git rev-parse refs/remotes/origin/main 2024-03-28T06:13:43.5039560Z 2545556f7a857a8d4830cbf0a85459cac406dcdb 2024-03-28T06:13:43.5048048Z ##[endgroup] 2024-03-28T06:13:43.5049515Z ##[group]Determining the checkout info 2024-03-28T06:13:43.5051607Z ##[endgroup] 2024-03-28T06:13:43.5053067Z ##[group]Checking out the ref 2024-03-28T06:13:43.5055025Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main 2024-03-28T06:13:43.5941959Z Switched to a new branch 'main' 2024-03-28T06:13:43.5942839Z branch 'main' set up to track 'origin/main'. 2024-03-28T06:13:43.5944938Z ##[endgroup] 2024-03-28T06:13:43.5979802Z [command]/usr/bin/git log -1 --format='%H' 2024-03-28T06:13:43.6003321Z '2545556f7a857a8d4830cbf0a85459cac406dcdb' 2024-03-28T06:13:43.6488539Z ##[group]Run milanmk/actions-file-deployer@master 2024-03-28T06:13:43.6489190Z with: 2024-03-28T06:13:43.6489478Z remote-protocol: ftp 2024-03-28T06:13:43.6489902Z remote-host: 93.254.12.198.host.secureserver.net 2024-03-28T06:13:43.6490523Z remote-user: id_github_actions@wellnessfromfood.com 2024-03-28T06:13:43.6491325Z remote-password: 2024-03-28T06:13:43.6491673Z remote-path: DeploymentTest1 2024-03-28T06:13:43.6492145Z debug: true 2024-03-28T06:13:43.6492716Z remote-port: 22 2024-03-28T06:13:43.6493153Z proxy: false 2024-03-28T06:13:43.6493480Z proxy-port: 22 2024-03-28T06:13:43.6493792Z proxy-forwarding-port: 1080 2024-03-28T06:13:43.6494248Z local-path: . 2024-03-28T06:13:43.6494567Z sync: delta 2024-03-28T06:13:43.6496252Z ##[endgroup] 2024-03-28T06:13:43.6812867Z ##[group]Run echo "::group::Initialization" 2024-03-28T06:13:43.6814252Z echo "::group::Initialization" 2024-03-28T06:13:43.6814756Z  2024-03-28T06:13:43.6815219Z function showhr() { 2024-03-28T06:13:43.6815724Z  printf '%.s' {1..100} && echo "" 2024-03-28T06:13:43.6816118Z } 2024-03-28T06:13:43.6816440Z  2024-03-28T06:13:43.6816821Z function send_webhook() { 2024-03-28T06:13:43.6817248Z  local status="$1" 2024-03-28T06:13:43.6817636Z  local post_data=$(jq --null-input \ 2024-03-28T06:13:43.6818191Z  --arg timestamp date +%s \ 2024-03-28T06:13:43.6818655Z  --arg status "${status}" \ 2024-03-28T06:13:43.6819215Z  --arg repository "WellnessFromFood/WebSiteApplication" \ 2024-03-28T06:13:43.6819873Z  --arg workflow "Deploy Files" \ 2024-03-28T06:13:43.6820285Z  --arg job "deploy-main" \ 2024-03-28T06:13:43.6820713Z  --arg run_id "8463238533" \ 2024-03-28T06:13:43.6821228Z  --arg ref "refs/heads/main" \ 2024-03-28T06:13:43.6821704Z  --arg event_name "workflow_dispatch" \ 2024-03-28T06:13:43.6822141Z  --arg actor "jwdonahue" \ 2024-03-28T06:13:43.6822634Z  --arg message "" \ 2024-03-28T06:13:43.6823146Z  --arg revision "2545556f7a857a8d4830cbf0a85459cac406dcdb" \ 2024-03-28T06:13:43.6824331Z  '{"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}') 2024-03-28T06:13:43.6825463Z  2024-03-28T06:13:43.6826195Z  curl --data "${post_data}" --header "Content-Type: application/json" --max-time 30 --show-error --silent --user-agent "GitHub Workflow" "" 2024-03-28T06:13:43.6826979Z } 2024-03-28T06:13:43.6827350Z  2024-03-28T06:13:43.6827805Z [ "" != "" ] && echo "Webhook notification (start): $(send_webhook "start")" 2024-03-28T06:13:43.6828421Z  2024-03-28T06:13:43.6828709Z echo "Check repository" 2024-03-28T06:13:43.6829095Z  2024-03-28T06:13:43.6829698Z if [ "$(git rev-parse --is-inside-work-tree 2>/dev/null)" != "true" ]; then 2024-03-28T06:13:43.6830578Z  echo "::error::Git repository not found. Please ensure you have a checkout step before this step." 2024-03-28T06:13:43.6831270Z  exit 1 2024-03-28T06:13:43.6831624Z fi 2024-03-28T06:13:43.6831930Z  2024-03-28T06:13:43.6832262Z echo "Initialize inputs" 2024-03-28T06:13:43.6832734Z  2024-03-28T06:13:43.6833072Z local_path_unslash=$(echo "." | sed 's:/$::') 2024-03-28T06:13:43.6833613Z local_path_slash="${local_path_unslash}/" 2024-03-28T06:13:43.6834124Z  2024-03-28T06:13:43.6834625Z remote_path_unslash=$(realpath --canonicalize-missing 'DeploymentTest1') 2024-03-28T06:13:43.6835261Z remote_path_slash="${remote_path_unslash}/" 2024-03-28T06:13:43.6835768Z  2024-03-28T06:13:43.6836698Z input_remote_password="**" 2024-03-28T06:13:43.6837399Z if [ "" == "" ]; then 2024-03-28T06:13:43.6838019Z  input_remote_password="dummypassword" 2024-03-28T06:13:43.6838464Z fi 2024-03-28T06:13:43.6838835Z  2024-03-28T06:13:43.6839166Z input_proxy="false" 2024-03-28T06:13:43.6839491Z  2024-03-28T06:13:43.6839852Z proxy_cmd="" 2024-03-28T06:13:43.6840275Z if [ "${input_proxy}" == "true" ]; then 2024-03-28T06:13:43.6840928Z  proxy_cmd="proxychains" 2024-03-28T06:13:43.6841375Z fi 2024-03-28T06:13:43.6841683Z  2024-03-28T06:13:43.6841985Z input_sync=delta 2024-03-28T06:13:43.6842536Z if [ "workflow_dispatch" == "workflow_dispatch" ]; then 2024-03-28T06:13:43.6843017Z  input_sync=full 2024-03-28T06:13:43.6843375Z fi 2024-03-28T06:13:43.6843753Z  2024-03-28T06:13:43.6844067Z echo "Validate inputs" 2024-03-28T06:13:43.6844424Z  2024-03-28T06:13:43.6844877Z if [ "ftp" != "sftp" ] && [ "ftp" != "ftp" ]; then 2024-03-28T06:13:43.6845558Z  echo "::error::Invalid protocol: ftp. Valid protocols are 'ftp' and 'sftp'." 2024-03-28T06:13:43.6846169Z  exit 1 2024-03-28T06:13:43.6846550Z fi 2024-03-28T06:13:43.6847259Z  2024-03-28T06:13:43.6847732Z if [ "${input_sync}" != "delta" ] && [ "${input_sync}" != "full" ]; then 2024-03-28T06:13:43.6848614Z  echo "::error::Invalid synchronization: ${input_sync}. Valid types are 'delta' and 'full'." 2024-03-28T06:13:43.6849297Z  exit 1 2024-03-28T06:13:43.6849590Z fi 2024-03-28T06:13:43.6849968Z  2024-03-28T06:13:43.6850299Z echo "::endgroup::" 2024-03-28T06:13:43.6850732Z  2024-03-28T06:13:43.6850996Z  2024-03-28T06:13:43.6851302Z  2024-03-28T06:13:43.6851682Z if [ "true" == "true" ]; then 2024-03-28T06:13:43.6852125Z  echo "::group::Debug" 2024-03-28T06:13:43.6852505Z  2024-03-28T06:13:43.6853128Z  echo "Context: github.event" && cat /home/runner/work/_temp/_github_workflow/event.json && show_hr 2024-03-28T06:13:43.6853826Z  2024-03-28T06:13:43.6854192Z  echo "Context: env" && echo "{}" && show_hr 2024-03-28T06:13:43.6854716Z  2024-03-28T06:13:43.6855016Z  echo "Inputs:" && echo "{ 2024-03-28T06:13:43.6855463Z  "remote-protocol": "ftp", 2024-03-28T06:13:43.6856124Z  "remote-host": "93.254.12.198.host.secureserver.net", 2024-03-28T06:13:43.6856765Z  "remote-user": "id_github_actions@wellnessfromfood.com", 2024-03-28T06:13:43.6857604Z  "remote-password": "***", 2024-03-28T06:13:43.6858111Z  "remote-path": "DeploymentTest1", 2024-03-28T06:13:43.6858554Z  "debug": "true", 2024-03-28T06:13:43.6858926Z  "remote-port": "22", 2024-03-28T06:13:43.6859409Z  "ssh-private-key": "", 2024-03-28T06:13:43.6859811Z  "proxy": "false", 2024-03-28T06:13:43.6860153Z  "proxy-host": "", 2024-03-28T06:13:43.6860618Z  "proxy-port": "22", 2024-03-28T06:13:43.6861040Z  "proxy-forwarding-port": "1080", 2024-03-28T06:13:43.6861562Z  "proxy-user": "", 2024-03-28T06:13:43.6861917Z  "proxy-private-key": "", 2024-03-28T06:13:43.6862325Z  "local-path": ".", 2024-03-28T06:13:43.6862786Z  "sync": "delta", 2024-03-28T06:13:43.6863175Z  "sync-delta-excludes": "", 2024-03-28T06:13:43.6863554Z  "ssh-options": "", 2024-03-28T06:13:43.6864010Z  "ftp-options": "", 2024-03-28T06:13:43.6864403Z  "ftp-mirror-options": "", 2024-03-28T06:13:43.6864855Z  "ftp-post-sync-commands": "", 2024-03-28T06:13:43.6865343Z  "webhook": "", 2024-03-28T06:13:43.6865671Z  "artifacts": "" 2024-03-28T06:13:43.6866036Z }" 2024-03-28T06:13:43.6866572Z  2024-03-28T06:13:43.6866919Z  echo "::endgroup::" 2024-03-28T06:13:43.6867259Z fi 2024-03-28T06:13:43.6867637Z  2024-03-28T06:13:43.6867942Z  2024-03-28T06:13:43.6868226Z  2024-03-28T06:13:43.6868672Z echo "::group::Install packages" 2024-03-28T06:13:43.6869108Z  2024-03-28T06:13:43.6869450Z apt_install="" 2024-03-28T06:13:43.6869908Z apt_quiet="--quiet --quiet" 2024-03-28T06:13:43.6870455Z if [ "true" == "true" ]; then 2024-03-28T06:13:43.6870868Z  apt_quiet="" 2024-03-28T06:13:43.6871305Z fi 2024-03-28T06:13:43.6871606Z  2024-03-28T06:13:43.6872351Z sudo apt-get ${apt_quiet} update && sudo apt-get ${apt_quiet} --no-install-recommends --yes install lftp ${proxy_cmd} 2024-03-28T06:13:43.6873053Z  2024-03-28T06:13:43.6873359Z echo "::endgroup::" 2024-03-28T06:13:43.6873797Z  2024-03-28T06:13:43.6874092Z  2024-03-28T06:13:43.6874342Z  2024-03-28T06:13:43.6874750Z echo "::group::Configurations" 2024-03-28T06:13:43.6875153Z  2024-03-28T06:13:43.6875459Z config_ssh=~/.ssh/config 2024-03-28T06:13:43.6876388Z mkdir ~/.ssh && echo -e "ExitOnForwardFailure=yes\nStrictHostKeyChecking=no" > ${config_ssh} && chmod 600 ${config_ssh} && echo "File created: ${config_ssh}" 2024-03-28T06:13:43.6877327Z [ "true" == "true" ] && cat ${config_ssh} 2024-03-28T06:13:43.6877786Z show_hr 2024-03-28T06:13:43.6878170Z  2024-03-28T06:13:43.6878466Z netrc=~/.netrc 2024-03-28T06:13:43.6879434Z echo "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}" 2024-03-28T06:13:43.6880568Z [ "true" == "true" ] && cat ${netrc} 2024-03-28T06:13:43.6880988Z show_hr 2024-03-28T06:13:43.6881319Z  2024-03-28T06:13:43.6881743Z if [ "ftp" == "sftp" ] && [ "" != "" ]; then 2024-03-28T06:13:43.6882174Z  key_ssh=~/ssh_private_key 2024-03-28T06:13:43.6882802Z  echo "" > ${key_ssh} && chmod 600 ${key_ssh} && echo "File created: ${key_ssh}" && show_hr 2024-03-28T06:13:43.6883459Z fi 2024-03-28T06:13:43.6883771Z  2024-03-28T06:13:43.6884079Z if [ "${input_proxy}" == "true" ]; then 2024-03-28T06:13:43.6884603Z  if [ "" != "" ]; then 2024-03-28T06:13:43.6885035Z  key_proxy=~/proxy_private_key 2024-03-28T06:13:43.6885762Z  echo "" > ${key_proxy} && chmod 600 ${key_proxy} && echo "File created: ${key_proxy}" && show_hr 2024-03-28T06:13:43.6886399Z  2024-03-28T06:13:43.6887045Z  config_proxychains=~/.proxychains/proxychains.conf 2024-03-28T06:13:43.6887722Z  mkdir ~/.proxychains && echo "strict_chain 2024-03-28T06:13:43.6888215Z  quiet_mode 2024-03-28T06:13:43.6888579Z  tcp_read_time_out 15000 2024-03-28T06:13:43.6889064Z  tcp_connect_time_out 10000 2024-03-28T06:13:43.6889460Z  [ProxyList] 2024-03-28T06:13:43.6890054Z  socks5 127.0.0.1 1080" > ${config_proxychains} && echo "File created: ${config_proxychains}" 2024-03-28T06:13:43.6890843Z  [ "true" == "true" ] && cat ${config_proxychains} 2024-03-28T06:13:43.6891340Z  show_hr 2024-03-28T06:13:43.6891649Z  else 2024-03-28T06:13:43.6892064Z  input_proxy="false" 2024-03-28T06:13:43.6892675Z  echo "::warning::Invalid input 'proxy-private-key'. Skipping proxy connection." 2024-03-28T06:13:43.6893284Z  fi 2024-03-28T06:13:43.6893674Z fi 2024-03-28T06:13:43.6893937Z  2024-03-28T06:13:43.6894362Z echo "debug $([ "true" == "true" ] && echo "9" || echo "false") 2024-03-28T06:13:43.6895272Z set cmd:trace $([ "true" == "true" ] && echo "true" || echo "false") 2024-03-28T06:13:43.6895860Z set ftp:ssl-protect-data true 2024-03-28T06:13:43.6896266Z set ftp:sync-mode false 2024-03-28T06:13:43.6896741Z set log:enabled/xfer true 2024-03-28T06:13:43.6897183Z set log:file/xfer ~/transfer_log.txt 2024-03-28T06:13:43.6897717Z set log:show-time/xfer false 2024-03-28T06:13:43.6898138Z set mirror:overwrite true 2024-03-28T06:13:43.6898614Z set mirror:parallel-transfer-count 3 2024-03-28T06:13:43.6899317Z set mirror:set-permissions false 2024-03-28T06:13:43.6899722Z set net:max-retries 1 2024-03-28T06:13:43.6900131Z set net:persist-retries 0 2024-03-28T06:13:43.6900599Z set net:timeout 10 2024-03-28T06:13:43.6901002Z set sftp:auto-confirm true 2024-03-28T06:13:43.6901391Z set ssl:check-hostname false 2024-03-28T06:13:43.6901900Z set ssl:verify-certificate false 2024-03-28T06:13:43.6902356Z set xfer:parallel 3 2024-03-28T06:13:43.6902728Z " > ~/.lftprc 2024-03-28T06:13:43.6903211Z if [ "ftp" == "sftp" ] && [ "" != "" ]; then 2024-03-28T06:13:43.6903890Z  echo "set sftp:connect-program /usr/bin/ssh -a -x -i ~/ssh_private_key " >> ~/.lftprc 2024-03-28T06:13:43.6904524Z else 2024-03-28T06:13:43.6905080Z  echo "set sftp:connect-program /usr/bin/ssh -a -x " >> ~/.lftprc 2024-03-28T06:13:43.6905628Z fi 2024-03-28T06:13:43.6906371Z echo "open ftp://id_github_actions@wellnessfromfood.com@93.254.12.198.host.secureserver.net:22" >> ~/.lftprc 2024-03-28T06:13:43.6907105Z echo "File created: ~/.lftprc" 2024-03-28T06:13:43.6907566Z [ "true" == "true" ] && cat ~/.lftprc 2024-03-28T06:13:43.6908057Z  2024-03-28T06:13:43.6908391Z echo "::endgroup::" 2024-03-28T06:13:43.6908719Z  2024-03-28T06:13:43.6909077Z  2024-03-28T06:13:43.6909384Z  2024-03-28T06:13:43.6909731Z if [ "${input_proxy}" == "true" ]; then 2024-03-28T06:13:43.6910243Z  echo "::group::Setup proxy" 2024-03-28T06:13:43.6910647Z  2024-03-28T06:13:43.6910985Z  if [ "" != "" ] && [ "" != "" ]; then 2024-03-28T06:13:43.6911656Z  if ssh -A -D 1080 -f -N -p 22 -i ~/proxy_private_key @; then 2024-03-28T06:13:43.6912665Z  echo "Proxy connected" && show_hr && echo "Proxy IP address: $(${proxy_cmd} curl --max-time 10 --show-error --silent "http://checkip.amazonaws.com/")" 2024-03-28T06:13:43.6913492Z  else 2024-03-28T06:13:43.6914034Z  echo "::error::Proxy connection failed." 2024-03-28T06:13:43.6914492Z  exit 1 2024-03-28T06:13:43.6914849Z  fi 2024-03-28T06:13:43.6915234Z  else 2024-03-28T06:13:43.6915526Z  input_proxy="false" 2024-03-28T06:13:43.6916174Z  echo "::warning::Invalid input 'proxy-user', 'proxy-host'. Skipping proxy connection." 2024-03-28T06:13:43.6916865Z  fi 2024-03-28T06:13:43.6917172Z  2024-03-28T06:13:43.6917467Z  echo "::endgroup::" 2024-03-28T06:13:43.6917907Z fi 2024-03-28T06:13:43.6918221Z  2024-03-28T06:13:43.6918584Z  2024-03-28T06:13:43.6918841Z  2024-03-28T06:13:43.6919186Z echo "::group::Prepare files" 2024-03-28T06:13:43.6919650Z  2024-03-28T06:13:43.6919978Z echo "Event: workflow_dispatch 2024-03-28T06:13:43.6920785Z Revision: https://github.com/WellnessFromFood/WebSiteApplication/commit/2545556f7a857a8d4830cbf0a85459cac406dcdb 2024-03-28T06:13:43.6921660Z Committer: jwdonahue 2024-03-28T06:13:43.6922052Z Message: " && show_hr 2024-03-28T06:13:43.6922436Z  2024-03-28T06:13:43.6923565Z echo "2545556f7a857a8d4830cbf0a85459cac406dcdb" > "${local_path_slash}.deploy-revision" && echo "File created: ${local_path_slash}.deploy-revision" && cat "${local_path_slash}.deploy-revision" && show_hr 2024-03-28T06:13:43.6924637Z  2024-03-28T06:13:43.6924954Z if [ "${input_sync}" == "delta" ]; then 2024-03-28T06:13:43.6925537Z  touch ~/files_to_upload ~/files_to_delete 2024-03-28T06:13:43.6926074Z  git_depth=$(git rev-list --count --all) 2024-03-28T06:13:43.6926539Z  git_previous_commit="" 2024-03-28T06:13:43.6927216Z  2024-03-28T06:13:43.6927567Z  if [ "${git_depth}" -gt 1 ]; then 2024-03-28T06:13:43.6928223Z  if [ "workflow_dispatch" == "push" ]; then 2024-03-28T06:13:43.6928791Z  git_previous_commit= 2024-03-28T06:13:43.6929295Z  elif [ "workflow_dispatch" == "pull_request" ]; then 2024-03-28T06:13:43.6929792Z  git_previous_commit= 2024-03-28T06:13:43.6930372Z  elif [ "workflow_dispatch" == "workflow_dispatch" ]; then 2024-03-28T06:13:43.6931105Z  git_previous_commit=$(git rev-parse 2545556f7a857a8d4830cbf0a85459cac406dcdb^) 2024-03-28T06:13:43.6931786Z  else 2024-03-28T06:13:43.6932608Z  echo "::error::Event not supported for delta synchronization: workflow_dispatch. Supported events are 'push', 'pull_request' and 'workflow_dispatch'." 2024-03-28T06:13:43.6933457Z  exit 1 2024-03-28T06:13:43.6933874Z  fi 2024-03-28T06:13:43.6934188Z  else 2024-03-28T06:13:43.6935221Z  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." 2024-03-28T06:13:43.6936370Z  exit 1 2024-03-28T06:13:43.6936668Z  fi 2024-03-28T06:13:43.6936992Z  2024-03-28T06:13:43.6937784Z  echo "Previous Revision: https://github.com/WellnessFromFood/WebSiteApplication/commit/${git_previous_commit}" && show_hr 2024-03-28T06:13:43.6938577Z  2024-03-28T06:13:43.6939208Z  # ${proxy_cmd} lftp -c "set log:enabled/xfer false; get -O ~ \"${remote_path_slash}.deploy-revision\"; exit 0" 2024-03-28T06:13:43.6940177Z  # echo -n "Remote Revision: " && [ -f ~/.deploy-revision ] && cat ~/.deploy-revision || echo "" 2024-03-28T06:13:43.6940828Z  # show_hr 2024-03-28T06:13:43.6941161Z  2024-03-28T06:13:43.6941661Z  if git cat-file -t ${git_previous_commit} &>/dev/null; then 2024-03-28T06:13:43.6942721Z  git diff --diff-filter=ACMRT --name-only ${git_previous_commit}..2545556f7a857a8d4830cbf0a85459cac406dcdb -- ${local_path_unslash} ':!/.git' > ~/files_to_upload 2024-03-28T06:13:43.6944140Z  git diff-tree --diff-filter=D --name-only -t ${git_previous_commit}..2545556f7a857a8d4830cbf0a85459cac406dcdb -- ${local_path_unslash} ':!/.git' > ~/files_to_delete 2024-03-28T06:13:43.6945099Z  2024-03-28T06:13:43.6945819Z  sed --in-place --regexp-extended "s#(.)#realpath --canonicalize-missing --relative-to=$local_path_unslash \1#e" ~/files_to_upload 2024-03-28T06:13:43.6947052Z  sed --in-place --regexp-extended "s#(.)#realpath --canonicalize-missing --relative-to=$local_path_unslash \1#e" ~/files_to_delete 2024-03-28T06:13:43.6947837Z  2024-03-28T06:13:43.6948319Z  echo "File created: ~/files_to_upload" && cat ~/files_to_upload && show_hr 2024-03-28T06:13:43.6949107Z  echo "File created: ~/files_to_delete" && cat ~/files_to_delete && show_hr 2024-03-28T06:13:43.6949695Z  2024-03-28T06:13:43.6950016Z  if [ "" == "true" ]; then 2024-03-28T06:13:43.6950967Z  echo "Copy transfer artifacts" && mkdir ~/transfer_files && rsync --verbose --files-from=$HOME/files_to_upload ${local_path_slash} ~/transfer_files/ 2024-03-28T06:13:43.6951841Z  fi 2024-03-28T06:13:43.6952121Z  else 2024-03-28T06:13:43.6953170Z  echo "::warning::Invalid base commit for delta synchronization: ${git_previous_commit}. Please ignore if this is an initial commit or newly created branch." 2024-03-28T06:13:43.6954073Z  fi 2024-03-28T06:13:43.6954379Z fi 2024-03-28T06:13:43.6954763Z  2024-03-28T06:13:43.6955042Z echo "::endgroup::" 2024-03-28T06:13:43.6955419Z  2024-03-28T06:13:43.6955783Z  2024-03-28T06:13:43.6956072Z  2024-03-28T06:13:43.6956378Z echo "::group::Transfer files" 2024-03-28T06:13:43.6956986Z  2024-03-28T06:13:43.6957312Z echo "Protocol: ftp 2024-03-28T06:13:43.6957780Z Synchronization: ${input_sync} 2024-03-28T06:13:43.6958200Z Local path: ${local_path_unslash} 2024-03-28T06:13:43.6958689Z Remote path: ${remote_path_unslash}" 2024-03-28T06:13:43.6959175Z  2024-03-28T06:13:43.6959857Z [ "${input_sync}" == "delta" ] && echo -e "Upload files: $(wc --lines < ~/files_to_upload)\nDelete files: $(wc --lines < ~/files_to_delete)" 2024-03-28T06:13:43.6960623Z  2024-03-28T06:13:43.6960950Z show_hr 2024-03-28T06:13:43.6961266Z  2024-03-28T06:13:43.6961644Z touch "${local_path_slash}.deploy-running" 2024-03-28T06:13:43.6962152Z  2024-03-28T06:13:43.6962473Z if [ "${input_sync}" == "full" ]; then 2024-03-28T06:13:43.6963077Z  ${proxy_cmd} lftp -c "put -O \"${remote_path_unslash}\" .deploy-running; 2024-03-28T06:13:43.6964006Z  mirror --exclude-glob=.git/ --max-errors=10 --reverse ${local_path_unslash} ${remote_path_unslash}; 2024-03-28T06:13:43.6964790Z  rm -f \"${remote_path_slash}.deploy-running\"; 2024-03-28T06:13:43.6965262Z  " 2024-03-28T06:13:43.6965601Z else 2024-03-28T06:13:43.6966031Z  ${proxy_cmd} lftp -c "lcd \"${local_path_unslash}\"; 2024-03-28T06:13:43.6966810Z  put -O \"${remote_path_unslash}\" .deploy-running; 2024-03-28T06:13:43.6967892Z  mput -d -O \"${remote_path_unslash}\" .deploy-revision $(awk '{ printf "\"%s\" ", $0 }' ~/files_to_upload); 2024-03-28T06:13:43.6969069Z  rm -f \"${remote_path_slash}.deploy-check\" $(awk -v REMOTEPATH=\"${remote_path_slash}\" '{ printf "\"%s%s\" ", REMOTEPATH, $0 }' ~/files_to_delete); 2024-03-28T06:13:43.6969944Z  rm -f \"${remote_path_slash}.deploy-running\"; 2024-03-28T06:13:43.6970516Z  " 2024-03-28T06:13:43.6970825Z fi 2024-03-28T06:13:43.6971201Z  2024-03-28T06:13:43.6971575Z [ -f ~/transfer_log.txt ] && cat ~/transfer_log.txt 2024-03-28T06:13:43.6972048Z  2024-03-28T06:13:43.6972431Z echo "::endgroup::" 2024-03-28T06:13:43.6972792Z  2024-03-28T06:13:43.6973076Z  2024-03-28T06:13:43.6973417Z  2024-03-28T06:13:43.6973729Z echo "::group::Cleanup" 2024-03-28T06:13:43.6974102Z  2024-03-28T06:13:43.6974560Z [ "${input_proxy}" == "true" ] && sudo pkill ssh 2024-03-28T06:13:43.6974991Z  2024-03-28T06:13:43.6975443Z rm --force --verbose ~/.netrc ~/proxy_private_key ~/ssh_private_key 2024-03-28T06:13:43.6976058Z  2024-03-28T06:13:43.6976451Z [ "" != "true" ] && rm --force --verbose ~/transfer_log.txt 2024-03-28T06:13:43.6976910Z  2024-03-28T06:13:43.6977438Z [ "" != "" ] && echo "Webhook notification (finish): $(send_webhook "finish")" 2024-03-28T06:13:43.6977987Z  2024-03-28T06:13:43.6978308Z echo "::endgroup::" 2024-03-28T06:13:43.6978727Z  2024-03-28T06:13:43.6978983Z exit 0 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

milanmk commented 5 months ago

Sorry I could not figure out what is causing the SSH transfer to fail.

jwdonahue commented 5 months ago

The 127 result indicates that bash could not find a command.