From: Riccardo Magliocchetti Date: Sun, 28 Feb 2021 18:26:56 +0000 (+0100) Subject: ci: move docs building to gh actions X-Git-Tag: 3.0.dev0~94^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9cf90b641663206a71ae8a5e0a0385aaa676bb1c;p=thirdparty%2Fpsycopg.git ci: move docs building to gh actions --- diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml new file mode 100644 index 000000000..e510c7c4d --- /dev/null +++ b/.github/workflows/docs.yml @@ -0,0 +1,14 @@ +name: Build documentation + +on: + push: + branches: [ master ] + +jobs: + docs: + runs-on: ubuntu-20.04 + + steps: + - uses: actions/checkout@v2 + - name: build docs + run: TRAVIS_BRANCH=master ./tools/travis_update_docs.sh diff --git a/.travis.yml b/.travis.yml index 6721b301b..a0f6ec737 100644 --- a/.travis.yml +++ b/.travis.yml @@ -96,7 +96,6 @@ matrix: - PGVER=12 - PSYCOPG3_IMPL=python - PGPORT=5433 - - BUILD_DOCS=1 install: - pip install tox @@ -104,10 +103,3 @@ install: script: - tox -c $TOXDIR - -deploy: - - provider: script - script: bash tools/travis_update_docs.sh - on: - branch: master - condition: "$BUILD_DOCS = 1"