aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/build-docs.yml
blob: 8a7266d42898aeb206876885dbc36bb2c09c5e7f (plain)
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
28
29
name: Generate and deploy documentation

on:
  push:
    branches:
      - master

jobs:
  docs-build-and-deploy:

    runs-on: ubuntu-latest

    steps:
      - name: Checkout
        uses: actions/checkout@v3

      - name: Install apt dependencies
        run: sudo apt-get update &&
          sudo apt-get install -qq build-essential gcc-powerpc64le-linux-gnu git lcov
          device-tree-compiler libssl-dev libmbedtls-dev python3-sphinx
          python3-recommonmark
      - name: Generate docs and coverage report
        run: ./opal-ci/build-docs.sh

      - name: Deploy docs
        uses: JamesIves/github-pages-deploy-action@v4.2.5
        with:
          branch: gh-pages
          folder: doc/_build/ghpages