Skip to content

Commit 3196a97

Browse files
committed
👷 Build in C-PAC image
1 parent f90485e commit 3196a97

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.circleci/config.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ commands:
6464
steps:
6565
- run:
6666
name: ↑ Installing deploy dependencies
67-
command: apt-get update && apt-get -y install git rsync
67+
command: sudo apt-get update && sudo apt-get -y install git rsync
6868
- run:
6969
name: 🔧 Configuring git user
7070
command: |
@@ -122,6 +122,7 @@ jobs:
122122
working_directory: /home/circleci/build
123123
docker:
124124
- image: ghcr.io/fcp-indi/c-pac:nightly
125+
user: root
125126
steps:
126127
- checkout:
127128
path: /home/circleci/build
@@ -131,13 +132,14 @@ jobs:
131132
- get-tutorials
132133
- run:
133134
name: 🏗️ Building nightly branch docs
134-
command: ./bin/build nightly
135+
command: source ~/docs_env/bin/activate && ./bin/build nightly
135136
- store-commit-message
136137
- persist-new-build
137138
build-version:
138139
working_directory: /home/circleci/build
139140
docker:
140141
- image: ghcr.io/fcp-indi/c-pac:nightly
142+
user: root
141143
steps:
142144
- checkout:
143145
path: /home/circleci/build
@@ -148,7 +150,7 @@ jobs:
148150
- get-tutorials
149151
- run:
150152
name: 🏗️ Building version branch docs
151-
command: ./bin/build ${BUILD_VERSION}
153+
command: source ~/docs_env/bin/activate && ./bin/build ${BUILD_VERSION}
152154
- store-commit-message
153155
- persist-new-build
154156
deploy-nightly:

0 commit comments

Comments
 (0)