Skip to content

Workflow for update adzans #45

Workflow for update adzans

Workflow for update adzans #45

Workflow file for this run

name: Workflow for update adzans
on:
push:
branches:
- master
schedule:
#- cron: "0 0 1 * *" # UTC
# thanks: https://stackoverflow.com/a/16603902
- cron: 0 17 30 4,6,9,11 *
- cron: 0 17 31 1,3,5,7,8,10,12 *
- cron: 0 17 28,29 2 *
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v1
- name: Update adzans
uses: ./.github/action-update-adzans/
# env:
# JWO_MONTH: '02'
# JWO_YEAR: '2021'
- name: Commit changes
uses: EndBug/[email protected]
with:
message: "[gh-actions] update adzans"
author_name: github-actions
author_email: 41898282+github-actions[bot]@users.noreply.github.com
push: false
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}