psycopg.git / summary / log / commit / refs
commit 9cf90b641663206a71ae8a5e0a0385aaa676bb1c
Author: Riccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Date: Sun Feb 28 18:26:56 2021 +0000
ci: move docs building to gh actions
.github/workflows/docs.yml | 14 ++++++++++++++
.travis.yml | 8 --------
2 files changed, 14 insertions(+), 8 deletions(-)
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
new file mode 100644
index 00000000..e510c7c4
--- /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 6721b301..a0f6ec73 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"
[parent: 47b89bb1fabf]