Skip to content

Commit c78cc8e

Browse files
committed
👷 Link references in install-build-dependencies command
1 parent 0dcc2ca commit c78cc8e

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

.circleci/config.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,12 @@ commands:
2424
source ~/simple/bin/activate
2525
pip install cpac
2626
deactivate
27-
link-references:
28-
steps:
2927
- run:
3028
name: 🖇️ Linking references
3129
command: |
3230
ln $(python -c "import os, CPAC; print(os.path.abspath(os.path.dirname(CPAC.__file__)))")/resources/configs/1.7-1.8-nesting-mappings.yml docs/_sources/references/1.7-1.8-nesting-mappings.yml || true
33-
ln $(python -c "import os, CPAC; print(os.path.abspath(os.path.join(os.path.dirname(CPAC.__file__), os.pardir)))")/dev/docker_data/default_pipeline.yml docs/_sources/references/default_pipeline.yml || true
31+
curl -o docs/_sources/references/default_pipeline.yml -L https://raw.githubusercontent.com/${CIRCLE_PROJECT_USERNAME}/C-PAC/<< parameters.version >>/dev/docker_data/default_pipeline.yml || true
32+
3433
run-cpac-commands:
3534
steps:
3635
- setup_remote_docker
@@ -116,7 +115,6 @@ jobs:
116115
- install-build-dependencies:
117116
version: develop
118117
- run-cpac-commands
119-
- link-references
120118
- run:
121119
name: 🏗️ Building nightly branch docs
122120
command: ./bin/build nightly
@@ -133,7 +131,6 @@ jobs:
133131
- install-build-dependencies:
134132
version: ${BUILD_VERSION}
135133
- run-cpac-commands
136-
- link-references
137134
- run:
138135
name: 🏗️ Building version branch docs
139136
command: ./bin/build ${BUILD_VERSION}

0 commit comments

Comments
 (0)