From 46bc175cc732031f3fa5de924c714bf28d25c7e2 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Thu, 17 Jun 2021 12:39:41 +0100 Subject: [PATCH] Trigger docs update to the website build workflow on GitHub Action --- .github/workflows/docs.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 9d511bfe..dbd4eb9e 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 }}