Set canonical URL to corresponding proprietary docs at getambassador.io #352
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Broken Link Checker" | |
on: [push] | |
jobs: | |
"Check": | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-node@v4 | |
- uses: actions/setup-python@v5 | |
- uses: actions/checkout@v4 | |
with: | |
path: site | |
- uses: actions/checkout@v4 | |
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() |