Skip to content

Commit 015b7df

Browse files
committed
reeeeeeeeebuild.
1 parent 50aa039 commit 015b7df

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.github/workflows/build.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Builder
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
tags-ignore:
8+
- '*'
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v2
16+
- name: Build
17+
run: php build/builder.php
18+
- name: Check Changes
19+
id: change
20+
run: (git diff index.php && echo "::set-output name=changed::false") || echo "::set-output name=changed::true"
21+
- name: Commit & Push
22+
if: steps.change.outputs.changed == 'true'
23+
run: |
24+
git config --global user.name 'Hints Builder'
25+
git config --global user.email '[email protected]'
26+
git add "index.php"
27+
git commit -m "Updated index.php"
28+
git push

0 commit comments

Comments
 (0)