Skip to content

Feat/update codebase analyzer v0.9.2 (#4) #24

Feat/update codebase analyzer v0.9.2 (#4)

Feat/update codebase analyzer v0.9.2 (#4) #24

Workflow file for this run

name: documentation
on:
push:
branches:
- main
permissions:
contents: write
jobs:
docit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Copy the Readmes
run: |
cp ./README.md ./docs/index.md
cp ./CONTRIBUTING.md ./docs
- name: Commit files
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m "Add changes" -a --allow-empty
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.PUBLISHER_TOKEN }}
deploy:
needs: docit
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force