forked from binref/refinery
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (35 loc) · 1011 Bytes
/
docs.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
name: documentation
on:
push:
branches: [ master ]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: '2'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[all]
- name: Generate documentation
run: |
python ./run-pdoc3.py --current-environment
- name: Upload documentation
env:
auth: ${{ secrets.GH_PAGES_TOKEN }}
working-directory: ./html/refinery
shell: bash
run: |
git init
git config user.email "[email protected]"
git config user.name jesko
git remote add origin https://huettenhain:[email protected]/binref/binref.github.io
git add --all
git commit -m refinery/${{github.sha}}
git push origin master --force