Update log-to-readable-md.py #6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and Deploy Docs | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Making log files readable and put them in docs | |
run: | | |
cnt=0 | |
for file in Samples/*; do | |
cnt=$((cnt + 1)) | |
python log-to-readable-md.py "$file" | |
cp new.md docs/Samples/"$cnt".md | |
done | |
- name: Install material for mkdocs | |
run: pip install mkdocs-material | |
- name: Build documentation | |
run: mkdocs build |