-
Notifications
You must be signed in to change notification settings - Fork 115
41 lines (34 loc) · 1006 Bytes
/
deploy.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
39
40
41
name: Build & deploy mpf-docs to missionpinball.org
on:
push:
branches:
- main
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Generate project showcase pages from .yaml files
run: python build_tools/generate_showcase_pages.py
- name: Build and deploy site
#run: mkdocs gh-deploy --force
run: |
git config user.name "mike-ci-bot"
git config user.email "[email protected]"
git fetch
git checkout gh-pages
git pull
git checkout main
mike deploy --push 0.57 latest
mike set-default --push latest