File tree Expand file tree Collapse file tree 2 files changed +32
-40
lines changed
Expand file tree Collapse file tree 2 files changed +32
-40
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ name : Mkdocs Build
2+
3+ on :
4+ push :
5+ branches : [ "v1", "v2" ]
6+ workflow_dispatch :
7+
8+ jobs :
9+ mike-deploy :
10+
11+ runs-on : ubuntu-latest
12+
13+ steps :
14+ - uses : actions/checkout@v3
15+ - name : Set up Python
16+ uses : actions/setup-python@v3
17+ with :
18+ python-version : ' 3.x'
19+ - name : Install dependencies
20+ run : |
21+ python -m pip install --upgrade pip
22+ pip install -r requirements/requirements.txt
23+ pip install mike==1.1.2
24+ python -m pip install --upgrade pip setuptools wheel
25+ - name : Config Git
26+ run : |
27+ git config user.name "$(git log -n 1 --pretty=format:%an)"
28+ git config user.email "$(git log -n 1 --pretty=format:%ae)"
29+ - name : Build package
30+ run : |
31+ git fetch origin deploy:deploy
32+ mike deploy --push --branch deploy --rebase ${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments