chore: bump version to v0.2.2 #90
Workflow file for this run
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
# | |
# Copyright (c) 2022 alandefreitas ([email protected]) | |
# | |
# Distributed under the Boost Software License, Version 1.0. | |
# https://www.boost.org/LICENSE_1_0.txt | |
# | |
name: Docs Generator | |
on: push | |
jobs: | |
generateDOC: | |
name: Docs Generator | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Generate Table of Contents | |
uses: technote-space/toc-generator@v2 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
MAX_HEADER_LEVEL: 3 | |
FOLDING: true | |
- name: Update Contributors | |
if: github.ref == 'refs/heads/master' | |
uses: akhilmhdh/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
image_size: 100 | |
columns_per_row: 6 | |
- name: Download mdsplit | |
uses: carlosperate/[email protected] | |
id: download-mdsplit | |
with: | |
file-url: 'https://github.com/alandefreitas/mdsplit/releases/download/v0.1.1/Executable.Linux.zip' | |
file-name: 'mdsplit.zip' | |
location: '.' | |
- name: Unzip mdsplit | |
run: | | |
unzip mdsplit.zip | |
rm -f mdsplit.zip | |
sudo chmod +x mdsplit | |
ls | |
- name: Generate Documentation Source | |
run: ./mdsplit -r alandefreitas/small | |
- name: Setup Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- name: Install Mkdocs Material | |
run: pip install mkdocs-material | |
- name: Install Awesome Pages Plugin # https://github.com/lukasgeiter/mkdocs-awesome-pages-plugin | |
run: pip install mkdocs-awesome-pages-plugin | |
- name: Deploy mkdocs to gh-pages branch | |
run: mkdocs gh-deploy --force |