10000 Merge pull request #16672 from QuLogic/circleci-update · matplotlib/matplotlib@4595bbd · GitHub
[go: up one dir, main page]

Skip to content

Commit 4595bbd

Browse files
authored
Merge pull request #16672 from QuLogic/circleci-update
Update CircleCI and add direct artifact link
2 parents 7ac7256 + b8892f1 commit 4595bbd

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

.circleci/config.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Circle CI configuration file
22
# https://circleci.com/docs/
33

4-
version: 2
4+
version: 2.1
55

66

77
###########################################
@@ -115,10 +115,6 @@ jobs:
115115
- store_artifacts:
116116
path: doc/build/html
117117

118-
- run:
119-
name: "Built documentation is available at:"
120-
command: echo "${CIRCLE_BUILD_URL}/artifacts/${CIRCLE_NODE_INDEX}/${CIRCLE_WORKING_DIRECTORY/#\~/$HOME}/doc/build/html/index.html"
121-
122118
docs-python37:
123119
docker:
124120
- image: circleci/python:3.7
@@ -141,10 +137,6 @@ jobs:
141137
- store_artifacts:
142138
path: doc/build/html
143139

144-
- run:
145-
name: "Built documentation is available at:"
146-
command: echo "${CIRCLE_BUILD_URL}/artifacts/${CIRCLE_NODE_INDEX}/${CIRCLE_WORKING_DIRECTORY/#\~/$HOME}/doc/build/html/index.html"
147-
148140
docs-python38:
149141
docker:
150142
- image: circleci/python:3.8
@@ -167,10 +159,6 @@ jobs:
167159
- store_artifacts:
168160
path: doc/build/html
169161

170-
- run:
171-
name: "Built documentation is available at:"
172-
command: echo "${CIRCLE_BUILD_URL}/artifacts/${CIRCLE_NODE_INDEX}/${CIRCLE_WORKING_DIRECTORY/#\~/$HOME}/doc/build/html/index.html"
173-
174162
9CA5 - add_ssh_keys:
175163
fingerprints:
176164
- "78:13:59:08:61:a9:e5:09:af:df:3a:d8:89:c2:84:c0"

.github/workflows/circleci.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
on: [status]
2+
jobs:
3+
circleci_artifacts_redirector_job:
4+
runs-on: ubuntu-latest
5+
name: Run CircleCI artifacts redirector
6+
steps:
7+
- name: GitHub Action step
8+
uses: larsoner/circleci-artifacts-redirector-action@master
9+
with:
10+
repo-token: ${{ secrets.GITHUB_TOKEN }}
11+
artifact-path: 0/doc/build/html/index.html
12+
circleci-jobs: docs-python36,docs-python37,docs-python38

0 commit comments

Comments
 (0)
0