]> git.ipfire.org Git - thirdparty/psycopg.git/commitdiff
ci: move docs building to gh actions
authorRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Sun, 28 Feb 2021 18:26:56 +0000 (19:26 +0100)
committerRiccardo Magliocchetti <riccardo.magliocchetti@gmail.com>
Mon, 1 Mar 2021 10:53:38 +0000 (11:53 +0100)
.github/workflows/docs.yml [new file with mode: 0644]
.travis.yml

diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
new file mode 100644 (file)
index 0000000..e510c7c
--- /dev/null
@@ -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
index 6721b301bd574b9c663d92c10bcaee905ecdc3b9..a0f6ec737fd97e2e06ae8f29899e79bb1d46d2f5 100644 (file)
@@ -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"