如何解决使用反应构建的 bitbucket-pipeline.yml 进行 SFTP 部署
image: node:14.16.1
pipelines:
branches:
master:
- step:
name: 'Build and Test'
script:
- echo "Your build and test goes here..."
- node -v
- npm --version
- npm install
- unset CI
- npm run build
- ls -al
artifacts:
- build/**
- step:
name: Deploy to demo
deployment: production
script:
- ls -al
- pipe: atlassian/ftp-deploy:0.3.6
variables:
USER: $USER
SERVER: $SERVER
PASSWORD: $PASSWORD
REMOTE_PATH: $REMOTE_PATH
这是我的项目的 bitbucket-pipeline.yml 文件,目前我正在通过使用我的凭据连接 sftp 服务器使用 filezilla 上传我的构建,但现在我必须使用 bitbucket-pipeline.yml 创建和部署我的项目构建文件。 请给我正确的步骤。
提前致谢。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。