質問編集履歴
1
追記
test
CHANGED
File without changes
|
test
CHANGED
@@ -1,3 +1,57 @@
|
|
1
|
+
**かなり進みましたが、あと一歩のところで詰まっています。**
|
2
|
+
|
3
|
+
|
4
|
+
|
5
|
+
# circle.yml
|
6
|
+
|
7
|
+
```yml
|
8
|
+
|
9
|
+
machine:
|
10
|
+
|
11
|
+
timezone:
|
12
|
+
|
13
|
+
Asia/Tokyo
|
14
|
+
|
15
|
+
php:
|
16
|
+
|
17
|
+
version: 5.6.29
|
18
|
+
|
19
|
+
dependencies:
|
20
|
+
|
21
|
+
pre:
|
22
|
+
|
23
|
+
- git clone git@github.com:example/example.git
|
24
|
+
|
25
|
+
|
26
|
+
|
27
|
+
deployment:
|
28
|
+
|
29
|
+
staging:
|
30
|
+
|
31
|
+
branch: master
|
32
|
+
|
33
|
+
commands:
|
34
|
+
|
35
|
+
- 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/
|
36
|
+
|
37
|
+
production:
|
38
|
+
|
39
|
+
branch: release
|
40
|
+
|
41
|
+
commands:
|
42
|
+
|
43
|
+
- 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/
|
44
|
+
|
45
|
+
|
46
|
+
|
47
|
+
```
|
48
|
+
|
49
|
+
dependenciesのpreで、ローカルにデータをクローンするという記述をすれば動くはずです。
|
50
|
+
|
51
|
+
どのようにして書けば良いでしょうか。
|
52
|
+
|
53
|
+
|
54
|
+
|
1
55
|
# デプロイフロー
|
2
56
|
|
3
57
|
- Pull Requestをmasterブランチにマージ => プロダクション環境にリリースされる
|