Skip to content

chore: set working-directory #791

chore: set working-directory

chore: set working-directory #791

Workflow file for this run

name: deploy-docs
on:
push:
branches:
- main
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up poetry
run: pipx install poetry
- name: Set up python
uses: actions/setup-python@v4
with:
cache: poetry
python-version: '3.7'
- name: Install requirements
working-directory: ./python-package
run: poetry install
- name: Activate virtual environment
working-directory: ./python-package
run: source $(poetry env info --path)/bin/activate
- name: Build and deploy docs
working-directory: ./docs
run: python -m mkdocs gh-deploy --force
env:
GOOGLE_ANALYTICS_KEY: ${{ secrets.GOOGLE_ANALYTICS_KEY }}