-
Notifications
You must be signed in to change notification settings - Fork 21
32 lines (28 loc) · 899 Bytes
/
status-prod.yml
File metadata and controls
32 lines (28 loc) · 899 Bytes
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
name: Status PROD
# runs at minute 0 of the 2rd,5th,8th and 11th hour
on:
push:
branches:
- main
schedule:
- cron: '0 2,5,8,11 * * *'
jobs:
dev_status_check:
runs-on: ubuntu-latest
env:
URL: "https://merginmaps.com/docs"
steps:
- uses: actions/checkout@v3
- name: Check the deployed service URL
uses: jtalk/url-health-check-action@v3
with:
url: ${{ env.URL }}
- name: Set variables
run: |
EXCLUDE_LIST=$(cat scripts/broken-link-exceptions.txt)
echo "EXCLUDE_LIST=$EXCLUDE_LIST" >> $GITHUB_ENV
- name: Check broken links
uses: ruzickap/action-my-broken-link-checker@v2
with:
url: ${{ env.URL }}
cmd_params: --buffer-size=8192 --max-connections=10 --color=always --skip-tls-verification --ignore-fragments --timeout=60 ${{ env.EXCLUDE_LIST }}