| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | gitscip-shell system . . git. checkout gh-pages |
| 4 | rc=$? |
| 5 | if [[ $rc != 0 ]] ; then |
| 6 | exit $rc |
| 7 | fi |
| 8 | cpscip-shell system . . cp. -r _build/html/*.html _build/html/*.js _build/html/_static _build/html/_modules ../ |
| 9 | echoscip-shell system . . echo. "html files copied" |
| 10 | gitscip-shell system . . git. commit -am"website update" |
| 11 | gitscip-shell system . . git. push |
| 12 | gitscip-shell system . . git. checkout master |