summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/docs.yml14
1 files changed, 7 insertions, 7 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 9d511bf..dbd4eb9 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -3,16 +3,16 @@ name: Build documentation
on:
push:
branches:
+ # This should match the DOC_BRANCH value in the psycopg-website Makefile
- master
jobs:
docs:
- runs-on: ubuntu-20.04
-
+ runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
- name: Trigger docs build
- run: ./scripts/travis_update_docs.sh
- env:
- TRAVIS_BRANCH: master
- TRAVIS_TOKEN: ${{ secrets.TRAVIS_TOKEN }}
+ uses: peter-evans/repository-dispatch@v1
+ with:
+ repository: psycopg/psycopg-website
+ event-type: psycopg2-commit
+ token: ${{ secrets.ACCESS_TOKEN }}