-
Notifications
You must be signed in to change notification settings - Fork 31
35 lines (35 loc) · 964 Bytes
/
blc.yaml
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
name: "Broken Link Checker"
on: [push]
jobs:
"Check":
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@v2
with:
node-version: '16'
- uses: actions/setup-python@v2
with:
python-version: '^3.9'
- uses: actions/checkout@v2
with:
path: site
- uses: actions/checkout@master
with:
repository: datawire/getambassador.io-blc2
path: blc
- run: yarn install
working-directory: site
- run: yarn run gatsby build
working-directory: site
- run: npm install
working-directory: blc
- name: Run checker
run: |
set -o pipefail
(TARGET=../site PRODUCT=telepresenceio make -C . > blc.log) || ! (grep 'has a broken' blc.log)
working-directory: blc
- uses: actions/upload-artifact@v2
with:
name: blc.log
path: blc/blc.log
if: always()