【发布时间】:2018-06-18 18:41:52
【问题描述】:
当我运行它时,来自复制的/first-repo 的文件更改将被bundle exec 忽略。如何确保包含来自/first-repo 的文件?
#!/bin/bash
cd /first-repo;
git pull;
cd /second-repo;
git pull;
# copy folder from first repo to second repo
cp -rf /first-repo /second-repo/destination_folder;
git add -A;
git commit -m "update destination folder from first repo";
git push;
# build
bundle exec rake build_site;
【问题讨论】: