-1

我正在尝试在通过Vagrant运行的 Flynn 上安装 Craft CMS ( https://github.com/craftcms/cms/tree/3.5 ) 。

当我尝试通过 Flynn CLI 推送它时,它会引发错误:

PS D:\cms> git push flynn 3.5
Logon failed, use ctrl+c to cancel basic credential prompt.
Enumerating objects: 293867, done.
Counting objects: 100% (293867/293867), done.
Delta compression using up to 8 threads
Compressing objects: 100% (61947/61947), done.
Writing objects: 100% (293867/293867), 162.26 MiB | 3.23 MiB/s, done.
Total 293867 (delta 224740), reused 293867 (delta 224740), pack-reused 0
remote: The push must include a change to the master branch to be deployed.
To https://git.demo.localflynn.com/cms.git
 ! [remote rejected]       3.5 -> 3.5 (pre-receive hook declined)
error: failed to push some refs to 'https://git.demo.localflynn.com/cms.git'

如何将 Craft CMS 部署为 Flynn 上的应用程序?

4

1 回答 1

2

错误是:

remote: The push must include a change to the master branch to be deployed.

因此,要解决此问题,请将您的分支推送到远程的主分支:

git push flynn 3.5:master
于 2020-07-13T15:32:25.640 回答