Skip to content

Commit bf72445

Browse files
authored
Add GitHub Action to check redirects (#70)
Current schedule once a week
1 parent 515d108 commit bf72445

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

.github/workflows/check_redirects.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Check subdomain and other redirects
2+
on:
3+
schedule:
4+
- cron: '32 5 * * 0'
5+
# * * * * *
6+
# │ │ │ │ └─ 0-6 day of the week (or SUN-SAT)
7+
# │ │ │ └──── 1-12 month (or JAN-DEC)
8+
# │ │ └─────── 1-31 day of the month
9+
# │ └────────── 0-23 hour
10+
# └───────────── 0-59 minute
11+
# https://pubs.opengroup.org/onlinepubs/9699919799/utilities/crontab.html#tag_20_25_07
12+
13+
# Allow one concurrent deployment
14+
concurrency:
15+
group: "pages"
16+
cancel-in-progress: true
17+
18+
jobs:
19+
check:
20+
runs-on: ubuntu-latest
21+
steps:
22+
- uses: actions/checkout@v3
23+
- name: Check redirects
24+
run: ./test/subdomain_redirects.sh

0 commit comments

Comments
 (0)