-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (63 loc) · 1.56 KB
/
copy.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
on:
push:
branches:
- master
paths:
- 'doc/**'
pull_request:
branches:
- master
paths:
- 'doc/**'
name: Copy Md
jobs:
jobBundles:
name: Copy Bundles
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: copyTo
uses: andstor/[email protected]
with:
personal_token: ${{ secrets.www }}
src_path: bundles/.
dst_path: /themes/momentum/source/lib/momentum_ui_motion
dst_owner: momentum-design
dst_repo_name: blog
clean: true
username: yulhuang
email: [email protected]
jobZH:
needs: jobBundles
name: Copy Chinese Documents
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: copyTo
uses: andstor/[email protected]
with:
personal_token: ${{ secrets.www }}
src_path: doc/zh_cn/.
dst_path: /doc/_posts/zh_cn/momentum_ui_motion
dst_owner: momentum-design
dst_repo_name: blog
clean: true
username: yulhuang
email: [email protected]
jobEN:
needs: jobZH
name: Copy English Documents
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: copyTo
uses: andstor/[email protected]
with:
personal_token: ${{ secrets.www }}
src_path: doc/en_us/.
dst_path: /doc/_posts/en_us/momentum_ui_motion
dst_owner: momentum-design
dst_repo_name: blog
clean: true
username: yulhuang
email: [email protected]