首页 文章

Travis中的Cloud Foundry部署

提问于
浏览
1

我知道我可以这样做:https://docs.travis-ci.com/user/deployment/cloudfoundry

现在在.travis.yml,它将有

deploy:
    edge: true
    provider: cloudfoundry
    username: hulk_hogan@example.com
    password: supersecretpassword
    api: https://api.run.pivotal.io
    organization: myawesomeorganization
    space: staging

可以通过运行加密Altough密码

travis encrypt --add deploy.password

我不想在yml文件中输入用户名和密码(即使它是加密的),Travis是否有另一种方式将应用程序部署到Cloud Foundry(或IBM Bluemix)?

1 回答

相关问题