Skip to content

Commit 29dffa7

Browse files
committed
yet more pipeline stuff
1 parent 18ad373 commit 29dffa7

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.github/workflows/maverick-web.yaml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,12 @@ on:
77
- 'stable'
88
tags:
99
- 'v*'
10+
pull_request:
11+
branches:
12+
- '*'
1013

1114
jobs:
12-
build:
15+
automation:
1316
runs-on: ubuntu-latest
1417
steps:
1518
- uses: actions/checkout@v2
@@ -28,13 +31,25 @@ jobs:
2831
with:
2932
name: maverick-web
3033
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'
3247
uses: drud/action-cross-commit@master
3348
with:
3449
source-folder: dist
3550
destination-repository: https://samueldudley:${{ secrets.ACCESS_TOKEN }}@github.com/goodrobots/maverick-web-dist
3651
destination-folder: .
37-
destination-branch: ${GITHUB_REF#refs/heads/}
52+
destination-branch: stable
3853
git-user: "samueldudley"
3954
git-user-email: dudley.samuel@gmail.com
4055
excludes: README.md:.git:LICENSE

0 commit comments

Comments
 (0)