File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 7
7
- ' stable'
8
8
tags :
9
9
- ' v*'
10
+ pull_request :
11
+ branches :
12
+ - ' *'
10
13
11
14
jobs :
12
- build :
15
+ automation :
13
16
runs-on : ubuntu-latest
14
17
steps :
15
18
- uses : actions/checkout@v2
@@ -28,13 +31,25 @@ jobs:
28
31
with :
29
32
name : maverick-web
30
33
path : ./dist
31
- - name : Commit to maverick-web-dist
34
+ - name : Commit to maverick-web-dist master
35
+ if : github.ref == 'refs/heads/master'
36
+ uses : drud/action-cross-commit@master
37
+ with :
38
+ source-folder : dist
39
+ destination-repository : https://samueldudley:${{ secrets.ACCESS_TOKEN }}@github.com/goodrobots/maverick-web-dist
40
+ destination-folder : .
41
+ destination-branch : master
42
+ git-user : " samueldudley"
43
+ git-user-email : dudley.samuel@gmail.com
44
+ excludes : README.md:.git:LICENSE
45
+ - name : Commit to maverick-web-dist stable
46
+ if : github.ref == 'refs/heads/stable'
32
47
uses : drud/action-cross-commit@master
33
48
with :
34
49
source-folder : dist
35
50
destination-repository : https://samueldudley:${{ secrets.ACCESS_TOKEN }}@github.com/goodrobots/maverick-web-dist
36
51
destination-folder : .
37
- destination-branch : ${GITHUB_REF#refs/heads/}
52
+ destination-branch : stable
38
53
git-user : " samueldudley"
39
54
git-user-email : dudley.samuel@gmail.com
40
55
excludes : README.md:.git:LICENSE
You can’t perform that action at this time.
0 commit comments