Skip to content

docs: 上架阿里云市场 #653

docs: 上架阿里云市场

docs: 上架阿里云市场 #653

Workflow file for this run

name: Mkdocs Build
on:
push:
branches: [ "v1.20.x-lts", "v3.x", "v2.x" ]
workflow_dispatch:
jobs:
mike-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUBTOKEN }}
- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements/requirements.txt
pip install mike==1.1.2
python -m pip install --upgrade pip setuptools wheel
- name: Config Git
run: |
git config user.name "$(git log -n 1 --pretty=format:%an)"
git config user.email "$(git log -n 1 --pretty=format:%ae)"
- name: Build package
run: |
git fetch origin deploy:deploy
mike deploy --push --branch deploy --rebase ${{ github.ref_name }}