forked from aws-powertools/powertools-lambda-python
-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (33 loc) · 738 Bytes
/
Copy pathpython_docs.yml
File metadata and controls
35 lines (33 loc) · 738 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
name: Powertools Python Docs
on:
pull_request:
branches:
- master
paths:
- "python/**"
push:
branches:
- master
paths:
- "python/**"
jobs:
docs:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./python/
steps:
- uses: actions/checkout@v1
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: "3.8"
- name: Install dependencies
run: make dev
- name: build docs
run: make docs
- name: deploy docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: python/docs/aws_lambda_powertools/