mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2024-12-25 21:17:17 +00:00
a476ae4907
## Issue Addressed I think we're running into this in our linkcheck, so I'm going to frist verify linkcheck fails on the current version, and then try downgrading it to see if it passes https://github.com/chronotope/chrono/issues/755 Co-authored-by: realbigsean <sean@sigmaprime.io>
31 lines
684 B
YAML
31 lines
684 B
YAML
name: linkcheck
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- unstable
|
|
pull_request:
|
|
paths:
|
|
- 'book/**'
|
|
|
|
jobs:
|
|
linkcheck:
|
|
name: Check broken links
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Create docker network
|
|
run: docker network create book
|
|
|
|
- name: Run mdbook server
|
|
run: docker run -v ${{ github.workspace }}/book:/book --network book --name book -p 3000:3000 -d peaceiris/mdbook:v0.4.20-rust serve --hostname 0.0.0.0
|
|
|
|
- name: Print logs
|
|
run: docker logs book
|
|
|
|
- name: Run linkcheck
|
|
run: docker run --network book tennox/linkcheck:latest book:3000
|