mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-10 19:16:34 +03:00
Trigger docs update to the website build workflow on GitHub Action
This commit is contained in:
parent
dd9c6659bc
commit
46bc175cc7
14
.github/workflows/docs.yml
vendored
14
.github/workflows/docs.yml
vendored
|
@ -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 }}
|
||||
|
|
Loading…
Reference in New Issue
Block a user