Home > OS >  Github FTP Deploy: fatal: Not a Git project? Exiting... On GitHub Actions Tab while running the work
Github FTP Deploy: fatal: Not a Git project? Exiting... On GitHub Actions Tab while running the work

Time:12-16

I am trying to deploy my changes to live server using GitHub via ftp workflow but it keeps on failing on 'fatal: Not a Git project? Exiting...'

FTP-Deploy-Action Error Log:
  Forced mode enabled.
  Auto init if needed.
  Using syncroot ./ if exists.
  Insecure SSL/TLS connection allowed
  fatal: Not a Git project? Exiting... <------------------------- fails from here
  The process '/usr/bin/git' failed with exit code 8
> 
I did 'git init' as stated in helpful articles but that didn't helped.
I re-clone the git repo and pushed the changes again and still having the same issue with the repo.

It was working fine until now.

Thank you for your time.

CodePudding user response:

I have exacly the same from Yestarday

Any hits would be usefull...

I'm using nazwa.pl as hosting(where the deploy happeds), maybe it's on their side...

CodePudding user response:

This was due to a docker image being updated and is now resolved. See the github issue for more information https://github.com/SamKirkland/FTP-Deploy-Action/issues/345

No updates to your github action are required to use the new (patched) version.

CodePudding user response:

It's allready fixed :) See here: https://github.com/SamKirkland/FTP-Deploy-Action/issues/345#issuecomment-1353339618

  • Related