summaryrefslogtreecommitdiffstats
path: root/.github/workflows/docs.yml
blob: 1dd1e94c9dc5e88794d57173a4b7ca437404f1d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Build documentation

on:
  push:
    branches:
      # This should match the DOC3_BRANCH value in the psycopg-website Makefile
      - master

concurrency:
  group: ${{ github.workflow }}-${{ github.ref_name }}
  cancel-in-progress: true

jobs:
  docs:
    runs-on: ubuntu-latest
    steps:
      - name: Trigger docs build
        uses: peter-evans/repository-dispatch@v1
        with:
          repository: psycopg/psycopg-website
          event-type: psycopg3-commit
          token: ${{ secrets.ACCESS_TOKEN }}