【发布时间】:2018-06-09 09:33:12
【问题描述】:
我有我的管道构建设置:
branches:
production:
- step:
name: Build and test JS.
image: node:8.9.3
script:
- npm install
- npm test
- npm run-script build
- step:
name: Build and test PHP.
image: php:7-fpm
script:
- echo "Here will be the Composer build and PHPUnit tests."
- step:
name: Deploy to FTP.
image: samueldebruyn/debian-git
script:
- apt-get update
- apt-get -qq install git-ftp
- git ftp push --user $FTP_USERNAME --passwd $FTP_PASSWORD ftp://$FTP_HOST
...问题是它构建时没有错误,但是我的服务器上没有标准的 webpack 输出 js 文件(应该出现在运行 webpack 的npm build 之后)。如何在该构建上将该输出 js 文件“放入”我的服务器?请寻求帮助。
【问题讨论】:
标签: git webpack continuous-integration bitbucket bitbucket-pipelines