Skip to content

ADN Network Functions #39

ADN Network Functions

ADN Network Functions #39

Workflow file for this run

name: Build Documentation
on:
push:
branches:
- main
pull_request:
jobs:
deploy:
runs-on: ubuntu-22.04
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
- name: Setup mdBook
uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: 'latest'
- run: mdbook build mdbook
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
deploy_key: ${{ secrets.DEPLOY_KEY_DOC }}
external_repository: phoenix-dataplane/phoenix-dataplane.github.io
publish_branch: main
publish_dir: mdbook/book
force_orphan: true