File tree Expand file tree Collapse file tree 2 files changed +18
-0
lines changed
Expand file tree Collapse file tree 2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,22 @@ version: 2.1
99#
1010
1111commands :
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+
1228 apt-install :
1329 steps :
1430 - run :
@@ -124,6 +140,7 @@ jobs:
124140 - image : circleci/python:3.8
125141 steps :
126142 - checkout
143+ - merge
127144
128145 - apt-install
129146 - fonts-install
Original file line number Diff line number Diff line change 1010 repo-token : ${{ secrets.GITHUB_TOKEN }}
1111 artifact-path : 0/doc/build/html/index.html
1212 circleci-jobs : docs-python38
13+ job-title : Check the rendered docs here!
You can’t perform that action at this time.
0 commit comments