mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-23 01: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:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
# This should match the DOC_BRANCH value in the psycopg-website Makefile
|
||||||
- master
|
- master
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docs:
|
docs:
|
||||||
runs-on: ubuntu-20.04
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
|
||||||
- name: Trigger docs build
|
- name: Trigger docs build
|
||||||
run: ./scripts/travis_update_docs.sh
|
uses: peter-evans/repository-dispatch@v1
|
||||||
env:
|
with:
|
||||||
TRAVIS_BRANCH: master
|
repository: psycopg/psycopg-website
|
||||||
TRAVIS_TOKEN: ${{ secrets.TRAVIS_TOKEN }}
|
event-type: psycopg2-commit
|
||||||
|
token: ${{ secrets.ACCESS_TOKEN }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user