Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/readthedocs/sphinx_rtd_theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Johnson <aj@ohess.org>2021-07-15 21:25:18 +0300
committerAnthony Johnson <aj@ohess.org>2021-07-15 21:27:47 +0300
commit1b38126245850a4fdf4f3340892375547237f5c6 (patch)
tree7e44511d3838b2a7bf3e697f3385488f01290375 /.circleci
parent0073409aaa4ce0e20d3a0f9a2e15197902d16c74 (diff)
Drop orb, fork code to apply more descriptive error
Diffstat (limited to '.circleci')
-rw-r--r--.circleci/config.yml16
1 files changed, 10 insertions, 6 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 09ff861..0a49c7b 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -1,8 +1,5 @@
version: 2.1
-orbs:
- untracked_changes: niteo/check-untracked-changes@1.0.0
-
commands:
run-tox:
description: "Run tox"
@@ -17,13 +14,20 @@ commands:
- run: pip install --user tox
- run: tox -e "<<parameters.version>>-sphinx{<<parameters.sphinx-version>>}"
run-build:
- description: "Verify assets were built"
+ description: "Ensure built assets are up toe date"
steps:
- checkout
- run: npm ci
- run: npm run build
- - untracked_changes/check:
- path: sphinx_rtd_theme/
+ - run:
+ name: Ensure built assets are up to date
+ command: |
+ if [[ `git status sphinx_rtd_theme/ --porcelain` ]]
+ then
+ echo "ERROR: assets are out of date. Make sure to run `npm run build` on your branch."
+ git status --porcelain
+ exit 1
+ fi
jobs:
build: