Skip to content

Prepare SDK-V-0302 #103

Prepare SDK-V-0302

Prepare SDK-V-0302 #103

Workflow file for this run

# This is a basic workflow to help you get started with Actions
name: Mkdocs
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the develop branch
push:
branches: [ main ]
pull_request:
branches: [ main ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
createdocu:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
-
uses: actions/setup-python@v2
with:
python-version: 3.x
-
run: pip install mkdocs-material
-
run: |
ls -alh
find samples-*/ -name "*.md" | cpio -pd doc/
find samples-*/ -name "*.png" | cpio -pd doc/
find scripts/ -name "*.md" | cpio -pd doc/
find scripts/ -name "*.png" | cpio -pd doc/
mkdocs gh-deploy --force