diff options
author | 2022-05-29 23:36:59 +0400 | |
---|---|---|
committer | 2022-05-29 23:44:05 +0400 | |
commit | 4c32cca1054a3ffe34b90dd25185cd2ad7ab068f (patch) | |
tree | 0db2ce3a7adc8a29abf2f014fa17885c48cc9088 /.github | |
parent | Update Docs CI For Multiversion (diff) |
Check Out The Entire Repository For Multiversion
Signed-off-by: Hassan Abouelela <[email protected]>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/docs.yaml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 82344abc..7bc0102d 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -49,6 +49,8 @@ jobs: steps: - uses: actions/checkout@v2 + with: + fetch-depth: 0 # We need to check out the entire repository to find all tags - name: Install Python Dependencies uses: HassanAbouelela/actions/setup-python@setup-python_v1.1.0 @@ -64,7 +66,7 @@ jobs: - name: Build All Doc Versions run: sphinx-multiversion docs docs/build -n -j auto env: - BUILD_DOCS_FOR_HEAD: True + BUILD_DOCS_FOR_HEAD: ${{ github.event_name == 'pull_request' }} - name: Upload Build Artifact uses: actions/upload-artifact@v2 |