Skip to content

DOCS-95 Extended platform specific notes for YUM installation (12) (#… #420

DOCS-95 Extended platform specific notes for YUM installation (12) (#…

DOCS-95 Extended platform specific notes for YUM installation (12) (#… #420

Workflow file for this run

name: Build Percona Distribution PostgreSQL 12 docs
on:
push:
branches:
- 12
jobs:
build:
name: Deploy docs
runs-on: ubuntu-latest
steps:
#Pull the latest changes
- name: Chekout code
uses: percona-platform/checkout@v2
with:
fetch-depth: 0
#Prepare the env
- name: Set up Python
uses: percona-platform/setup-python@v2
with:
python-version: '3.x'
#Configure git
- name: Configure git
env:
ROBOT_TOKEN: ${{ secrets.ROBOT_TOKEN }}
run: |
git config --global url."https://percona-platform-robot:${ROBOT_TOKEN}@github.com".insteadOf "https://github.com"
git config user.name "GitHub Action"
git config user.email "[email protected]"
git config user.password "${ROBOT_TOKEN}"
echo "GIT_USER=percona-platform-robot:${ROBOT_TOKEN}" >> $GITHUB_ENV
#Set up MkDocs
- name: Setup MkDocs
run: |
python -m pip install --upgrade pip
pip install wheel
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
#Set up PlantUML
# - name: Setup PlantUML dependencies
# run: |
# sudo apt install -y graphviz
# Deploy docs
- name: Deploy docs
run: |
mike deploy 12 -b publish -p
mike retitle 12 "12.16" -b publish -p
# - name: Install Node.js 14.x
# uses: percona-platform/setup-node@v2
# with:
# node-version: "14"
#
# - name: Spelling
# run: |
# npx markdown-spellcheck --report --en-us --ignore-acronyms --ignore-numbers "docs/**/*.md" || true
# Ignore errors, just inspect results
# - name: Grammar
# run: |
# npx write-good --no-passive docs/**/*.md || true
# # Ignore errors, just inspect results