首页 > 解决方案 > 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

标签: bitbucket-pipelinesgit-ftp

解决方案


推荐阅读