Skip to content

Commit dea272f

Browse files
committed
fix: CI attempt 3
1 parent 88b0817 commit dea272f

File tree

2 files changed

+23
-40
lines changed

2 files changed

+23
-40
lines changed

.github/workflows/python_docs.yml

Lines changed: 0 additions & 40 deletions
This file was deleted.

.github/workflows/pythonpackage.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,26 @@ jobs:
4040
run: |
4141
make test
4242
working-directory: ./python/
43+
docs:
44+
runs-on: ubuntu-latest
45+
defaults:
46+
run:
47+
working-directory: ./python/
48+
steps:
49+
- uses: actions/checkout@v1
50+
- name: Set up Python
51+
uses: actions/setup-python@v1
52+
with:
53+
python-version: "3.8"
54+
- name: Install dependencies
55+
run: |
56+
python -m pip install --upgrade pip
57+
make dev
58+
- name: build docs
59+
run: |
60+
make docs
61+
- name: deploy docs
62+
uses: peaceiris/actions-gh-pages@v3
63+
with:
64+
github_token: ${{ secrets.GITHUB_TOKEN }}
65+
publish_dir: docs/aws_lambda_powertools/

0 commit comments

Comments
 (0)