简体   繁体   English

Github FTP 部署:致命:不是 Git 项目? Exiting... 在运行工作流程时在 GitHub Actions 选项卡上

[英]Github FTP Deploy: fatal: Not a Git project? Exiting... On GitHub Actions Tab while running the workflow

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?我正在尝试通过 ftp 工作流使用 GitHub 将我的更改部署到实时服务器,但它一直在“致命:不是 Git 项目?”上失败。 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.

This was due to a docker image being updated and is now resolved.这是由于正在更新 docker 映像,现在已解决。 See the github issue for more information https://github.com/SamKirkland/FTP-Deploy-Action/issues/345有关详细信息,请参阅 github 问题https://github.com/SamKirkland/FTP-Deploy-Action/issues/345

No updates to your github action are required to use the new (patched) version.无需更新您的 github 操作即可使用新的(已打补丁的)版本。

It's allready fixed:) See here: https://github.com/SamKirkland/FTP-Deploy-Action/issues/345#issuecomment-1353339618已经解决了:) 请看这里: https ://github.com/SamKirkland/FTP-Deploy-Action/issues/345#issuecomment-1353339618

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM