File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 1010# exit 1
1111# fi
1212
13- if [[ ! -z $CIRCLE_PULL_REQUEST ]] ; then
14- # git checkout --orphan rst
15- # git add -f tutorials/rst-tutorials/*
16- # git -c user.name='travis' -c user.email='travis' commit -m "now with RST"
17- # git push -q -f https://adrn:[email protected] /astropy/astropy-tutorials rst; 18- echo " Not a pull request: pushing RST files to ` rst` branch!"
13+ if [[ -z $CIRCLE_PULL_REQUEST ]] ; then
14+ git checkout --orphan rst
15+ git add -f tutorials/rst-tutorials/*
16+ git -c user.name=' circle' -c user.email=' circle' commit -m " now with RST"
17+ git remote add origin
[email protected] :astropy/astropy-tutorials.git
18+ git push -q -f origin rst
19+ echo " Not a pull request: pushing RST files to rst branch."
1920else
21+ echo $CIRCLE_PULL_REQUEST
2022 echo " This is a pull request: not pushing RST files."
2123fi
You can’t perform that action at this time.
0 commit comments