bitbucket-pipelines - Bitbucket 管道上的“未设置远程主机”错误
问题描述
我想在处理我的 wordpress 项目时运行一个用于部署的管道。但我运行它时总是出错:
这是我的 yml 文件:
image: php:7.3
pipelines:
branches:
development:
- step:
name: Deploy to staging
deployment: staging
script:
- apt-get update
- apt-get -qq install git-ftp
- git reset --hard
- git ftp init --user $USER --passwd $PASSWORD $URL
解决方案
推荐阅读
- ios - 如何实现导航栏标题旁边的按钮
- java - 将组件添加到框架后更改 GridBagLayout 中组件的约束
- javascript - 使用 Array.slice 对卡片列表进行分页
- ruby-on-rails - Graphql Ruby - 无法在 buildClientSchema 读取未定义的属性“类型” - 仅限 Rails 6 API
- json - JQ:从 JSON 文件解析特定输出(获取 IP)
- java - 无法将 json 转换为 pojo 类,得到 com.fasterxml.jackson.databind.exc.UnrecognizedPropertyException 异常
- javascript - 提交道具价值变更表格
- java - Kotlin 找不到符号 Function1 构建错误
- ruby - 从 Ruby 中的继承类调用方法
- masstransit - 在 Autofac 模块中测试 MassTransit 端点配置