@@ -31,30 +31,28 @@ jobs:
3131 # fallback to using the latest cache if no exact match is found
3232 - v2-dependencies-python3.13-
3333
34- - run :
35- name : Install parsons
36- command : |
37- uv sync \\
38- --upgrade \\
39- --no-default-groups \\
40- --group docs \\
41- --all-extras
34+ - name : Install parsons
35+ run : |
36+ uv sync \\
37+ --upgrade \\
38+ --no-default-groups \\
39+ --group docs \\
40+ --all-extras
4241
4342 - save_cache :
4443 paths :
4544 - ./venv
4645 key : v2-dependencies-python3.13-{{ checksum "pyproject.toml" }}-{{ checksum "setup.py" }}
4746
48- - run :
49- name : Build docs
50- command : |
51- uv sync \\
52- --no-default-groups \\
53- --group docs \\
54- --all-extras
47+ - name : Build docs
48+ run : |
49+ uv sync \\
50+ --no-default-groups \\
51+ --group docs \\
52+ --all-extras
5553
56- cd docs/
57- make deploy_docs
54+ cd docs/
55+ make deploy_docs
5856
5957 docs-build-deploy :
6058 docker :
@@ -69,19 +67,18 @@ jobs:
6967 # fallback to using the latest cache if no exact match is found
7068 - v2-dependencies-python3.13-
7169
72- - run :
73- name : Install parsons
74- # Note that we the circleci node image installs stuff with a user "circleci", rather
75- # than root. So we need to tell npm where to install stuff.
76- command : |
77- npm set prefix=/home/circleci/npm
78- npm install -g --silent gh-pages@2.0.1
70+ # Note that we the circleci node image installs stuff with a user "circleci", rather
71+ # than root. So we need to tell npm where to install stuff.
72+ - name : Install parsons
73+ run : |
74+ npm set prefix=/home/circleci/npm
75+ npm install -g --silent gh-pages@2.0.1
7976
80- uv sync \\
81- --upgrade \\
82- --no-default-groups \\
83- --group docs \\
84- --all-extras
77+ uv sync \\
78+ --upgrade \\
79+ --no-default-groups \\
80+ --group docs \\
81+ --all-extras
8582
8683 - save_cache :
8784 paths :
@@ -94,25 +91,24 @@ jobs:
9491 fingerprints :
9592 - ' 9a:ec:4d:2b:c3:45:b2:f5:55:ca:0b:2b:36:e2:7f:df'
9693
97- - run :
98- name : Build and deploy docs
99- # When running gh-pages, we specify to include dotfiles, so we pick up the .nojerkyll file.
100- # (This file tell Github Pages that we want to include all files in docs/, including those
101- # that start with an underscore like _static/).
102- command : |
103- uv sync \\
104- --no-default-groups \\
105- --group docs \\
106- --all-extras
94+ # When running gh-pages, we specify to include dotfiles, so we pick up the .nojerkyll file.
95+ # (This file tell Github Pages that we want to include all files in docs/, including those
96+ # that start with an underscore like _static/).
97+ - name : Build and deploy docs
98+ run : |
99+ uv sync \\
100+ --no-default-groups \\
101+ --group docs \\
102+ --all-extras
107103
108- cd docs/
109- make deploy_docs
104+ cd docs/
105+ make deploy_docs
110106
111- cd ..
107+ cd ..
112108
113- git config user.email "ci-build@movementcooperative.org"
114- git config user.name "ci-build"
109+ git config user.email "ci-build@movementcooperative.org"
110+ git config user.name "ci-build"
115111
116- export PATH=/home/circleci/npm/bin:$PATH
112+ export PATH=/home/circleci/npm/bin:$PATH
117113
118- gh-pages --dotfiles --message "[skip ci] Updates" --dist docs
114+ gh-pages --dotfiles --message "[skip ci] Updates" --dist docs
0 commit comments