質問するログイン新規登録

質問編集履歴

1

追記

2017/08/22 11:24

投稿

spellbound
spellbound

スコア190

title CHANGED
File without changes
body CHANGED
@@ -1,3 +1,30 @@
1
+ **かなり進みましたが、あと一歩のところで詰まっています。**
2
+
3
+ # circle.yml
4
+ ```yml
5
+ machine:
6
+ timezone:
7
+ Asia/Tokyo
8
+ php:
9
+ version: 5.6.29
10
+ dependencies:
11
+ pre:
12
+ - git clone git@github.com:example/example.git
13
+
14
+ deployment:
15
+ staging:
16
+ branch: master
17
+ commands:
18
+ - rsync --exclude=uploads --exclude=upgrade --exclude=.DS_Store* -v -rltO -e ssh "/Users/iseh/Local Sites/test/app/public/wp-content/" kusanagi@140.00.00.00:/home/kusanagi/index.html/DocumentRoot/wp-content/
19
+ production:
20
+ branch: release
21
+ commands:
22
+ - rsync --exclude=uploads --exclude=upgrade --exclude=.DS_Store* -v -rltO -e ssh "/Users/iseh/Local Sites/test/app/public/wp-content/" kusanagi@150.00.00.00:/home/kusanagi/index.html/DocumentRoot/wp-content/
23
+
24
+ ```
25
+ dependenciesのpreで、ローカルにデータをクローンするという記述をすれば動くはずです。
26
+ どのようにして書けば良いでしょうか。
27
+
1
28
  # デプロイフロー
2
29
  - Pull Requestをmasterブランチにマージ => プロダクション環境にリリースされる
3
30
  - リモートリポジトリにプッシュ => ステージング環境にリリースされる