Skip to content

Github workflow to fido-device-onboard documentation #1

Github workflow to fido-device-onboard documentation

Github workflow to fido-device-onboard documentation #1

Workflow file for this run

name: FIDO-documentation build
on:
workflow_dispatch:
push:
branches: master
pull_request:
branches: [master, '*rel']
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: scm checkout
uses: actions/checkout@v3
- name: setup-python
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs-material mike
- name: build
run: mkdocs build
if: github.event_name == 'pull_request'
- name: deploy
run: |
git config remote.origin.fetch '+refs/heads/*:refs/remotes/origin/*'
git fetch --all
git config user.name sdo-automation
git config user.email sdo-automation@intel.com
mike deploy latest -b gh-pages-multi -p
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}