Skip to content

Commit 6a8a278

Browse files
authored
Add workflow for merge queue (#180)
1 parent 85186ed commit 6a8a278

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: build docs (merge queue)
2+
3+
on:
4+
merge_group:
5+
jobs:
6+
deploy:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v3
10+
- uses: actions/setup-python@v4
11+
with:
12+
python-version: 3.x
13+
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV
14+
- uses: actions/cache@v3
15+
with:
16+
key: mkdocs-material-${{ env.cache_id }}
17+
path: .cache
18+
restore-keys: |
19+
mkdocs-material-
20+
- run: pip install --upgrade pip
21+
- run: |
22+
pip install -r requirements.txt
23+
- run: rm -rf site
24+
- run: cat mkdocs.yml
25+
- run: mkdocs build --strict

0 commit comments

Comments
 (0)