Skip to content

Updated migration steps #6017

Updated migration steps

Updated migration steps #6017

Workflow file for this run

name: Build PMM Docs 3.x
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.x'
cache: 'pip'
- name: Setup MkDocs
run: |
python -m pip install --upgrade pip
pip install wheel
test -f requirements.txt && pip install -r requirements.txt
- 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 "github-action@users.noreply.github.com"
git config user.password "${ROBOT_TOKEN}"
echo "GIT_USER=percona-platform-robot:${ROBOT_TOKEN}" >> $GITHUB_ENV
# Builds Material-themed static web site in 'preview' branch
- name: Build a themed site (2.x)
run: |
PATH=$PATH:_resources/bin mike deploy 3.x -b preview
mike set-default 3.x -b preview
mike retitle 3.x "PMM 3.x (LATEST)" -b preview