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 10
10
# exit 1
11
11
# fi
12
12
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:$GITHUB_API_KEY@github.com/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 git@github.com:astropy/astropy-tutorials.git
18
+ git push -q -f origin rst
19
+ echo " Not a pull request: pushing RST files to rst branch."
19
20
else
21
+ echo $CIRCLE_PULL_REQUEST
20
22
echo " This is a pull request: not pushing RST files."
21
23
fi
You can’t perform that action at this time.
0 commit comments