This repository was archived by the owner on May 12, 2024. It is now read-only.
Update README.md #31
This file contains hidden or 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: ci | |
on: | |
push: | |
branches: | |
- master | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: 3.x | |
- run: pip install mkdocs-material | |
- run: mkdocs gh-deploy --force | |
- run: git config --global user.email "mohammad.masoudi59@gmail.com" | |
- run: git config --global user.name "Mohamad Masoudi" | |
- run: cp -r docs/examples /tmp | |
- run: git checkout gh-pages | |
- run: cp -r /tmp/examples . | |
- run: git add . | |
- run: git commit -m 'add examples github actions' | |
- run: rm -rf /tmp/examples | |