composer将PHP应用程序部署到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'

如何在Flynn上部署Craft CMS作为应用程序?

错误为:

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

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

git push flynn 3.5:master

最新更新