-
Notifications
You must be signed in to change notification settings - Fork 24
37 lines (35 loc) · 1 KB
/
update-adzans.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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 }}