Skip to content

Merge pull request #6 from Vardan2009/master #11

Merge pull request #6 from Vardan2009/master

Merge pull request #6 from Vardan2009/master #11

Workflow file for this run

name: deploy
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
cache-dependency-path: ./requirements.txt
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Build MkDocs site
run: mkdocs build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site
keep_files: false
destination_dir: .
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
publish_branch: gh-pages
full_commit_message: ${{ github.event.head_commit.message }}