Add update to master branch when we push changes to it.

This commit is contained in:
Llewellyn van der Merwe 2022-07-22 18:19:32 +02:00
parent c748b7caef
commit a31fb35278
Signed by: Llewellyn
GPG Key ID: A9201372263741E7
1 changed files with 6 additions and 2 deletions

View File

@ -1,9 +1,13 @@
name: "Build getBible static JSON API files"
on:
# run once per/day
# run once per/month
schedule:
- cron: '12 4 1 * *'
# when the master branch is updated
push:
branches:
- master
jobs:
build:
@ -34,4 +38,4 @@ jobs:
HASH_REPO: ${{ secrets.GETBIBLE_HASH_REPO }}
SCRIPTURE_REPO: ${{ secrets.GETBIBLE_SCRIPTURE_REPO }}
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"