Skip to content

Commit c6182a9

Browse files
committed
Only run link check not on master
1 parent 9264e32 commit c6182a9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ jobs:
8282
mdbook-linkcheck:
8383
name: Book link check
8484
runs-on: ubuntu-latest
85+
if: github.ref != 'refs/heads/master'
8586
steps:
8687
- name: Checkout the source code
8788
uses: actions/checkout@master
@@ -90,7 +91,7 @@ jobs:
9091

9192
- name: Install mdbook
9293
run: cd book && curl -L https://github.com/rust-lang/mdBook/releases/download/v0.3.7/mdbook-v0.3.7-x86_64-unknown-linux-gnu.tar.gz | tar xz
93-
94+
9495
- name: Install mdbook-linkcheck
9596
run: |
9697
cd book

0 commit comments

Comments
 (0)