Document gh-pages updates

This commit is contained in:
Adi Roiban 2021-08-08 11:02:44 +01:00 committed by GitHub
parent 45691dfaee
commit 1507b4496a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 2 deletions

View File

@ -4,6 +4,10 @@ name: CI
on:
push:
# Make sure to not enable `push` events for other branches as this will
# trigger the publishing to gh-pages from any branch.
# If you need to enable more branches look below and update
# the conditions for which gh-pages are updated.
branches: [ trunk ]
tags:
- incremental-*
@ -64,8 +68,8 @@ jobs:
mv apidocs website/docs
- name: Publish documentation for push on trunk
# FIXME:
# Add push event condition before merge.
# Since we don't have a separate job for apidocs gh-pages updating
# hijack the normal apidoc test and publish the resulting files.
if: contains(matrix['tox-env'], 'apidocs') && github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v3
with: