Skip to content

Commit 981a700

Browse files
authored
CI: include ext-theme commit in cache key (#12933)
If a new template is added in ext-theme, we want to invalidate the cache, so tests use the new version.
1 parent 088eb48 commit 981a700

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.circleci/config.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ commands:
5050
- run:
5151
name: Combine requirements files for cache key
5252
command: cat requirements/*.txt > requirements-cache-key.txt
53+
- run:
54+
name: Include ext-theme commit hash in cache key
55+
command: |
56+
git ls-remote https://github.com/readthedocs/ext-theme.git HEAD >> requirements-cache-key.txt
5357
5458
skip-if-docs-only:
5559
description: Halt the job if only docs/ files changed

0 commit comments

Comments
 (0)