File tree 2 files changed +18
-0
lines changed
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,22 @@ version: 2.1
9
9
#
10
10
11
11
commands :
12
+ merge :
13
+ steps :
14
+ - run :
15
+ name : Merge with upstream
16
+ command : |
17
+ if ! git remote -v | grep upstream; then
18
+ git remote add upstream git://github.com/matplotlib/matplotlib.git
19
+ fi
20
+ git fetch upstream
21
+ echo $(git log -1 --pretty=%B) | tee gitlog.txt
22
+ echo ${CI_PULL_REQUEST//*pull\//} | tee merge.txt
23
+ if [[ $(cat merge.txt) != "" ]]; then
24
+ echo "Merging $(cat merge.txt)";
25
+ git pull --ff-only upstream "refs/pull/$(cat merge.txt)/merge";
26
+ fi
27
+
12
28
apt-install :
13
29
steps :
14
30
- run :
@@ -124,6 +140,7 @@ jobs:
124
140
- image : circleci/python:3.8
125
141
steps :
126
142
- checkout
143
+ - merge
127
144
128
145
- apt-install
129
146
- fonts-install
Original file line number Diff line number Diff line change 10
10
repo-token : ${{ secrets.GITHUB_TOKEN }}
11
11
artifact-path : 0/doc/build/html/index.html
12
12
circleci-jobs : docs-python38
13
+ job-title : Check the rendered docs here!
You can’t perform that action at this time.
0 commit comments