Skip to content

Merge pull request #26 from kad-vijlbc/patch-15 #45

Merge pull request #26 from kad-vijlbc/patch-15

Merge pull request #26 from kad-vijlbc/patch-15 #45

name: Publish [dev] docs via GitHub Pages
on:
push:
branches:
- main
jobs:
build:
name: Generate [dev] docs
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.8 ]
ruby-version: [ 3.0 ]
node-version: [ 16.x ]
steps:
- name: Checkout main
uses: actions/checkout@v2
with:
fetch-depth: 0
submodules: recursive
- name: Configure Git user
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
cache: 'pip'
cache-dependency-path: 'requirements.txt'
- name: Install Python dependencies
run: python3 -m pip install -r ./requirements.txt
- name: Deploy with mike 🚀
run: |
mike deploy --push "dev"