forked from pyrevitlabs/pyRevit
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 763 Bytes
/
docs.yml
File metadata and controls
40 lines (36 loc) · 763 Bytes
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
name: pyRevitDocsCI
on:
# when PRs from forked repos are merged
push:
branches:
- docs
paths:
- 'mkdocs.yml'
- 'docs/**'
- 'pyrevitlib/**'
- '*.md'
# when PR from develop->master is created
pull_request:
branches:
- master
paths:
- 'mkdocs.yml'
- 'docs/**'
- 'pyrevitlib/**'
- '*.md'
# manual run
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Prepare Python 3.10
uses: actions/setup-python@v6
with:
python-version: '3.10'
- name: Prepare pipenv
run: |
pip install pipenv
pipenv sync
- run: pipenv run mkdocs gh-deploy --force