GitHub CI: Disable doc build on forks and upload on PR (#6044)

This commit is contained in:
Alexander Zhogov
2021-06-04 20:07:05 +03:00
committed by GitHub
parent 9b16fafeeb
commit adee5228d4

View File

@@ -3,6 +3,7 @@ on: [push, pull_request]
jobs:
Build_Doc:
if: github.repository == 'openvinotoolkit/openvino'
runs-on: ubuntu-20.04
steps:
- name: Clone OpenVINO
@@ -38,6 +39,7 @@ jobs:
working-directory: build
- name: 'Upload doc'
if: github.event_name == 'push'
uses: actions/upload-artifact@v2
with:
name: openvino_doc