File tree Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Expand file tree Collapse file tree 1 file changed +55
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Copy v1-uk-docs dir to v1-uk-docs-release branch and v1-eu-docs dir to v1-eu-docs-release branch
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+
8
+ jobs :
9
+ copy-v1-uk-docs :
10
+ runs-on : ubuntu-latest
11
+
12
+ steps :
13
+ - name : Checkout Source Branch
14
+ uses : actions/checkout@v3
15
+ with :
16
+ ref : master
17
+
18
+ - name : Prepare v1-uk-docs-release Branch
19
+ run : |
20
+ git fetch origin +refs/heads/v1-uk-docs-release:refs/remotes/origin/v1-uk-docs-release
21
+ git checkout v1-uk-docs-release || git checkout --orphan v1-uk-docs-release
22
+
23
+ - name : Copy v1-uk-docs dir
24
+ run : |
25
+ cp -r v1-uk-docs/* .
26
+ git add .
27
+ git commit -m "Copy v1-uk-docs to root of v1-uk-docs-release"
28
+
29
+ - name : Push to v1-uk-docs-release
30
+ run : |
31
+ git push origin v1-uk-docs-release
32
+
33
+ copy-v1-eu-docs :
34
+ runs-on : ubuntu-latest
35
+
36
+ steps :
37
+ - name : Checkout Source Branch
38
+ uses : actions/checkout@v3
39
+ with :
40
+ ref : master
41
+
42
+ - name : Prepare v1-eu-docs-release Branch
43
+ run : |
44
+ git fetch origin +refs/heads/v1-eu-docs-release:refs/remotes/origin/v1-eu-docs-release
45
+ git checkout v1-eu-docs-release || git checkout --orphan v1-eu-docs-release
46
+
47
+ - name : Copy v1-eu-docs dir
48
+ run : |
49
+ cp -r v1-eu-docs/* .
50
+ git add .
51
+ git commit -m "Copy v1-eu-docs to root of v1-eu-docs-release"
52
+
53
+ - name : Push to v1-eu-docs-release Branch
54
+ run : |
55
+ git push origin v1-eu-docs-release
You can’t perform that action at this time.
0 commit comments