Skip to content

Commit

Permalink
yet more pipeline stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
SamuelDudley committed Mar 17, 2020
1 parent 18ad373 commit 29dffa7
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions .github/workflows/maverick-web.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,12 @@ on:
- 'stable'
tags:
- 'v*'
pull_request:
branches:
- '*'

jobs:
build:
automation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand All @@ -28,13 +31,25 @@ jobs:
with:
name: maverick-web
path: ./dist
- name: Commit to maverick-web-dist
- name: Commit to maverick-web-dist master
if: github.ref == 'refs/heads/master'
uses: drud/action-cross-commit@master
with:
source-folder: dist
destination-repository: https://samueldudley:${{ secrets.ACCESS_TOKEN }}@github.com/goodrobots/maverick-web-dist
destination-folder: .
destination-branch: master
git-user: "samueldudley"
git-user-email: [email protected]
excludes: README.md:.git:LICENSE
- name: Commit to maverick-web-dist stable
if: github.ref == 'refs/heads/stable'
uses: drud/action-cross-commit@master
with:
source-folder: dist
destination-repository: https://samueldudley:${{ secrets.ACCESS_TOKEN }}@github.com/goodrobots/maverick-web-dist
destination-folder: .
destination-branch: ${GITHUB_REF#refs/heads/}
destination-branch: stable
git-user: "samueldudley"
git-user-email: [email protected]
excludes: README.md:.git:LICENSE
Expand Down

0 comments on commit 29dffa7

Please sign in to comment.