aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2023-11-07 12:43:17 +0000
committerNick Mathewson <nickm@torproject.org>2023-11-07 12:43:17 +0000
commit0ce2e4099a8f91f90b6da2bf43049abcb8763149 (patch)
treea9b3c48bb45a53c8e2855354d384eff19acefadb /.gitlab-ci.yml
parent897072238d84a8609b07905548dd7ff1602f568d (diff)
parent59ff015aa550dd553771a5b767c9cb173502142d (diff)
downloadtorspec-0ce2e4099a8f91f90b6da2bf43049abcb8763149.tar.gz
torspec-0ce2e4099a8f91f90b6da2bf43049abcb8763149.zip
Merge branch 'cache' into 'main'
Cache the built copy of mdbook See merge request tpo/core/torspec!193
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f01e598..1b82c3c 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -5,7 +5,7 @@ variables:
build:
image: rust:bookworm
script:
- - cargo install mdbook
+ - ./bin/via-cargo-install-in-ci mdbook
- apt-get update && apt-get install -y git python3 python3-yaml
- ./bin/check_index
- ./bin/build_html
@@ -13,6 +13,9 @@ build:
artifacts:
paths:
- public
+ cache:
+ paths:
+ - cache
include:
project: tpo/tpa/ci-templates