Skip to content

Commit e78b4a8

Browse files
committed
CI: Extract MDBOOK_VERSION variable and update it via renovatebot
1 parent 487cc32 commit e78b4a8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/deploy.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
branches:
55
- master
66

7+
env:
8+
# renovate: datasource=crate depName=mdbook versioning=semver
9+
MDBOOK_VERSION: 0.4.37
10+
711
jobs:
812
build:
913
runs-on: ubuntu-latest
@@ -14,7 +18,7 @@ jobs:
1418
- name: Install mdbook
1519
run: |
1620
mkdir mdbook
17-
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v0.4.37/mdbook-v0.4.37-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
21+
curl -Lf https://github.com/rust-lang/mdBook/releases/download/v${{ env.MDBOOK_VERSION }}/mdbook-v${{ env.MDBOOK_VERSION }}-x86_64-unknown-linux-gnu.tar.gz | tar -xz --directory=./mdbook
1822
echo `pwd`/mdbook >> $GITHUB_PATH
1923
- name: Generate Book
2024
run: |

0 commit comments

Comments
 (0)