Skip to content

Update mkdocs.yml

Update mkdocs.yml #13

Workflow file for this run

name: Publish English docs via GitHub Pages
env:
ACTIONTEST: master # no need to add v before the version number
on:
workflow_call:
push:
branches:
# Remember to add v before the following version number unless the version is master.
- master
paths:
- 'docs-2.0-en/**'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # fetch all commits/branches for gitversion
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.8'
- name : prepare
run: sh ./prepare.sh
- name: Git Config
run: git config user.name ChrisChen2023 && git config user.email [email protected]

Check failure on line 35 in .github/workflows/deploy-en.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/deploy-en.yml

Invalid workflow file

You have an error in your yaml syntax on line 35
- name: Mike Deploy
run: |
python ./scripts/render_english_only.py
git fetch origin gh-pages --depth=1 # fix mike's CI update
mike list
mike deploy ${{ env.ACTIONTEST }} -p --rebase
# mike set-default ${{ env.ACTIONTEST }} -p --rebase
mike list