File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : deploy
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - develop
7
+ - master
8
+ paths :
9
+ - " python/**"
10
+ push :
11
+ branches :
12
+ - develop
13
+ - master
14
+ paths :
15
+ - " python/**"
16
+
17
+ jobs :
18
+ deploy :
19
+ runs-on : ubuntu-latest
20
+ steps :
21
+ - uses : actions/checkout@v1
22
+ - name : Set up Python
23
+ uses : actions/setup-python@v1
24
+ with :
25
+ python-version : 3.8
26
+ - name : Install dependencies
27
+ run : |
28
+ python -m pip install --upgrade pip
29
+ make dev
30
+ working-directory : ./python/
31
+ - name : build docs
32
+ run : |
33
+ make docs
34
+ working-directory : ./python/
35
+ - name : deploy docs
36
+ uses : peaceiris/actions-gh-pages@v3
37
+ with :
38
+ github_token : ${{ secrets.GITHUB_TOKEN }}
39
+ publish_dir : docs/aws_lambda_powertools/
40
+ working-directory : ./python/
You can’t perform that action at this time.
0 commit comments