简体   繁体   English

将 PHP 应用程序部署到 Flynn

[英]Deploy PHP application into Flynn

I'm trying to install Craft CMS ( https://github.com/craftcms/cms/tree/3.5 ) on Flynn running through Vagrant .我正在尝试在通过Vagrant运行的 Flynn 上安装 Craft CMS( https://github.com/craftcms/cms/tree/3.5 )。

When I try to push it via Flynn CLI it throws an error:当我尝试通过 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'

How can I deploy Craft CMS as an application on Flynn?如何将 Craft CMS 部署为 Flynn 上的应用程序?

The error is:错误是:

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

So to resolve this issue, push your branch to the master branch in the remote:因此,要解决此问题,请将您的分支推送到远程的主分支:

git push flynn 3.5:master

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

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