Add update to master branch when we push changes to it.
This commit is contained in:
parent
c748b7caef
commit
a31fb35278
|
@ -1,9 +1,13 @@
|
||||||
name: "Build getBible static JSON API files"
|
name: "Build getBible static JSON API files"
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# run once per/day
|
# run once per/month
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '12 4 1 * *'
|
- cron: '12 4 1 * *'
|
||||||
|
# when the master branch is updated
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -34,4 +38,4 @@ jobs:
|
||||||
HASH_REPO: ${{ secrets.GETBIBLE_HASH_REPO }}
|
HASH_REPO: ${{ secrets.GETBIBLE_HASH_REPO }}
|
||||||
SCRIPTURE_REPO: ${{ secrets.GETBIBLE_SCRIPTURE_REPO }}
|
SCRIPTURE_REPO: ${{ secrets.GETBIBLE_SCRIPTURE_REPO }}
|
||||||
run: |
|
run: |
|
||||||
/bin/bash ./run.sh --github --pull --push --repo-hash="$HASH_REPO" --repo-scripture="$SCRIPTURE_REPO"
|
/bin/bash ./run.sh --github --pull --push --repo-hash="$HASH_REPO" --repo-scripture="$SCRIPTURE_REPO"
|
||||||
|
|
Loading…
Reference in New Issue