Skip to content

Update deploy-mkdocs.yml #8

Update deploy-mkdocs.yml

Update deploy-mkdocs.yml #8

Workflow file for this run

name: Deploy MkDocs
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install mkdocs
pip install mkdocs-material
- name: Configure Git
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
- name: Navigate to documentation directory and Deploy to GitHub Pages
run: |
cd documentation
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/MertenD/node-crawler.git
mkdocs gh-deploy --clean