FTP-Deploy-Action icon indicating copy to clipboard operation
FTP-Deploy-Action copied to clipboard

Not uploaded to server,However, the log [git-ftp.Log] does not exist

Open bbhxwl opened this issue 4 years ago • 1 comments

Bug Description Not uploaded to server However, the log [git-ftp.Log] does not exist

My Action Config

on: push
name: Publish Website
jobs:
  web-deploy:
    name: 🚀 Deploy website every commit
    # !!!!!!! TODO Fill Out !!!!!!!

My Action Log

Run SamKirkland/[email protected]
  with:
    ftp-server: ***
    ftp-username: ***
    ftp-password: ***
    git-ftp-args: --insecure
    local-dir: /home/runner/work/InnoADLMedicalWeb/InnoADLMedicalWeb/InnoADLMedicalWeb/bin/Release/netcoreapp3.1/publish/
  env:
    DOTNET_ROOT: /home/runner/.dotnet
/usr/bin/docker run --name b361eeb2b3c1ad9804dc086fa41dca7e23acc_e3654e --label 7b361e --workdir /github/workspace --rm -e DOTNET_ROOT -e INPUT_FTP-SERVER -e INPUT_FTP-USERNAME -e INPUT_FTP*** INPUT_GIT-FTP-ARGS -e INPUT_LOCAL-DIR -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_RETENTION_DAYS -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e GITHUB_ACTION_REPOSITORY -e GITHUB_ACTION_REF -e GITHUB_PATH -e GITHUB_ENV -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/InnoADLMedicalWeb/InnoADLMedicalWeb":"/github/workspace" 7b361e:eb2b3c1ad9804dc086fa41dca7e23acc
Uploading files
  /usr/bin/git ftp push --force --auto-init --verbose --sync***=/github/workspace/InnoADLMedicalWeb/bin/Release/netcoreapp3.1/publish/ --user=*** --passwd=*** --insecure ***
  Tue Sep 14 09:21:01 UTC 2021: git-ftp version 1.5.1 running on Linux 14aff39eda5b 5.8.0-1040-azure #43~20.04.1-Ubuntu SMP Mon Aug 2 22:06:11 UTC 2021 x86_64 GNU/Linux
  Tue Sep 14 09:21:01 UTC 2021: Forced mode enabled.
  Tue Sep 14 09:21:01 UTC 2021: Auto init if needed.
  Tue Sep 14 09:21:01 UTC 2021: Using sync*** /github/workspace/InnoADLMedicalWeb/bin/Release/netcoreapp3.1/publish/ if exists.
  Tue Sep 14 09:21:01 UTC 2021: Insecure SSL/TLS connection allowed
  Tue Sep 14 09:21:01 UTC 2021: Host is 'IP:2222'.
  Tue Sep 14 09:21:01 UTC 2021: User is '***'.
  Tue Sep 14 09:21:01 UTC 2021: Password is set.
  Tue Sep 14 09:21:01 UTC 2021: CACert is ''.
  Tue Sep 14 09:21:01 UTC 2021: Insecure is '1'.
  Tue Sep 14 09:21:01 UTC 2021: Proxy is ''.
  Tue Sep 14 09:21:01 UTC 2021: Path is 'var/www/test/'.
  Tue Sep 14 09:21:01 UTC 2021: Sync*** is '/github/workspace/InnoADLMedicalWeb/bin/Release/netcoreapp3.1/publish/'.
  Tue Sep 14 09:21:01 UTC 2021: The remote sha1 is saved in file '.git-ftp.log'.
  Tue Sep 14 09:21:01 UTC 2021: Check if curl is functional.
  Tue Sep 14 09:21:01 UTC 2021: Retrieving last commit from ***IP:2222/var/www/test/.
  #=#=#                                                                         
  ##O#- #                                                                       
  ##O=#  #                                                                      
  #=#=-#  #                                                                     
  -#O#- #   #                                                                   
  -=#=#   #   #                                                                 
  -=O#- #  #    #                                                               
  -=O=#  #   #   #                                                              
  -=O=-#  #    #   #                                                            
  -=O=- #   #   #     #                                                         
  -=O=-   #   #   #     #                                                       
  -=O=-    #    #    #    #                                                     
  -=O=-      #   #     #    #                                                   
  -=O=-        #   #     #     #                                                
  -=O=-         #     #    #     #                                              
  
  ######################################################################## 100.0%
  Tue Sep 14 09:21:07 UTC 2021: Unknown SHA1 object, could not determine changed files, taking all files.
  Tue Sep 14 09:21:07 UTC 2021: No files to sync. All changed files ignored.
  Tue Sep 14 09:21:07 UTC 2021: There are no files to sync.
  Tue Sep 14 09:21:07 UTC 2021: Uploading commit log to ***IP:2222/var/www/test/.git-ftp.log.
  #=#=#                                                                         
  ##O#- #                                                                       
  ##O=#  #                                                                      
  #=#=-#  #                                                                     
  -#O#- #   #                                                                   
  -=#=#   #   #                                                                 
  -=O#- #  #    #                                                               
  -=O=#  #   #   #                                                              
  -=O=-#  #    #   #                                                            
  -=O=- #   #   #     #                                                         
  -=O=-   #   #   #     #                                                       
  -=O=-    #    #    #    #                                                     
  -=O=-      #   #     #    #                                                   
  -=O=-        #   #     #     #                                                
  -=O=-         #     #    #     #                                              
   -=O=-          #     #    #     #                                            
  Tue Sep 14 09:21:11 UTC 2021: Last deployment changed from 386d25c9e2720bde4c181134180d38f60c0ac3a5 to bc9a0a210054382c6cda3a0eff3f33c28a5368a6.
✅ Deploy Complete

bbhxwl avatar Sep 14 '21 09:09 bbhxwl

My project is automatically compiled in /home/runner/work/InnoADLMedicalWeb/InnoADLMedicalWeb/InnoADLMedicalWeb/bin/Release/netcoreapp3.1/publish

local-dir: /home/runner/work/InnoADLMedicalWeb/InnoADLMedicalWeb/InnoADLMedicalWeb/bin/Release/netcoreapp3.1/publish

bbhxwl avatar Sep 14 '21 09:09 bbhxwl

please upgrade to v4

SamKirkland avatar Mar 16 '23 16:03 SamKirkland