Skip to content

Add github actor as the one for the commit #6

Add github actor as the one for the commit

Add github actor as the one for the commit #6

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Configure Git
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.${GITHUB_DOMAIN:-"github.com"}"
git fetch origin gh-pages:gh-pages
- name: Deploy documentation
run: |
VERSION=$(cat version.txt)
mike deploy --push --update-aliases $VERSION dev
mike set-default --push latest