File: docs.yml

package info (click to toggle)
python-rosettasciio 0.7.1-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 144,648 kB
  • sloc: python: 36,638; xml: 2,582; makefile: 22; ansic: 4
file content (27 lines) | stat: -rw-r--r-- 739 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
name: Documentation

on:
  pull_request:
  push:
    branches-ignore:
      - 'dependabot/**'
      - 'pre-commit-ci-update-config'
  workflow_dispatch:

jobs:
  Build:
    # Use the "reusable workflow" from the hyperspy organisation
    uses: hyperspy/.github/.github/workflows/doc.yml@main
    with:
      doc_path: ./doc
      doc_build_path: ./doc/_build/html/
      pip_extra_doc: all,doc

  Push:
    needs: Build
    if: ${{ github.event_name != 'pull_request' && github.repository_owner == 'hyperspy' }}
    permissions:
      # needs write permission to push the docs to gh-pages
      contents: write
    # Use the "reusable workflow" from the hyperspy organisation
    uses: hyperspy/.github/.github/workflows/push_doc.yml@main