diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 21c2996..7f9881a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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" \ No newline at end of file + /bin/bash ./run.sh --github --pull --push --repo-hash="$HASH_REPO" --repo-scripture="$SCRIPTURE_REPO"