We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50aa039 commit 015b7dfCopy full SHA for 015b7df
.github/workflows/build.yml
@@ -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