Skip to content

Include grammar.

Include grammar. #48

Workflow file for this run

name: Publish docs via GitHub Pages
on:
push:
branches:
- master
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
- name: Checkout master
uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v4
with:
python-version: 3.8
- name: Install Poetry
uses: Gr1N/setup-poetry@v8
- name: Deploy docs (1)
run: |
git config --global user.name "albop"
git config --global user.email "[email protected]"
git remote rm origin
git remote add origin https://x-access-token:${PERSONAL_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
poetry install
poetry run mkdocs gh-deploy --config-file ${GITHUB_WORKSPACE}/mkdocs.yml --force --verbose
env:
PERSONAL_TOKEN: ${{ secrets.PERSONAL_TOKEN }}