File: publish.sh

package info (click to toggle)
owslib 0.23.0-1%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 11,176 kB
  • sloc: xml: 137,886; python: 20,041; makefile: 167; sh: 11
file content (16 lines) | stat: -rwxr-xr-x 368 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/bash

# this script publishes Sphinx outputs to github pages
THIS_DIR=`pwd`

make clean && make html
git clone https://github.com/geopython/OWSLib.git /tmp/OWSLib-$$
cd /tmp/OWSLib-$$
git checkout gh-pages
/bin/cp -rp $THIS_DIR/build/html/en/* .
git add .
git commit -am "update live docs [ci skip]"
git push origin gh-pages

cd $THIS_DIR
rm -fr /tmp/OWSLib-$$