-
Notifications
You must be signed in to change notification settings - Fork 34
38 lines (34 loc) · 902 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: ci
on:
push:
branches:
- main
- master
- v1.13
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: committer cache
uses: actions/cache@v4
with:
path: .cache
key: committer-cache
- run: pip install -r docs/requirements.txt
- name: build
env:
MKDOCS_GIT_COMMITTERS_APIKEY: ${{ secrets.GIT_COMMITER_TOKEM }}
run: |
git config --global user.name "ci-bot"
git config --global user.email "[email protected]"
git fetch origin gh-pages
mike deploy --push -u v1.13.x current stable -t "v1.13.x (stable)"
mike set-default stable --push
mike list