File tree Expand file tree Collapse file tree 6 files changed +3
-16
lines changed Expand file tree Collapse file tree 6 files changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,12 @@ jobs:
19
19
- name : Build Docs
20
20
run : python3.7 ./scripts/docs.py build-all
21
21
- name : Zip docs
22
+ if : github.event_name == 'pull_request'
22
23
run : bash ./scripts/zip-docs.sh
23
24
- uses : actions/upload-artifact@v2
25
+ if : github.event_name == 'pull_request'
24
26
with :
25
- name : docs-zip-${{ github.sha }}
27
+ name : docs-zip-${{ github.event.pull_request.head. sha }}
26
28
path : ./docs.zip
27
29
- name : Deploy to Netlify
28
30
uses : nwtgck/actions-netlify@v1.1.5
Original file line number Diff line number Diff line change 8
8
<a href =" https://github.com/tiangolo/fastapi/actions?query=workflow%3ATest " target =" _blank " >
9
9
<img src="https://github.com/tiangolo/fastapi/workflows/Test/badge.svg" alt="Test">
10
10
</a >
11
- <a href =" https://github.com/tiangolo/fastapi/actions?query=workflow%3APublish " target =" _blank " >
12
- <img src="https://github.com/tiangolo/fastapi/workflows/Publish/badge.svg" alt="Publish">
13
- </a >
14
11
<a href =" https://codecov.io/gh/tiangolo/fastapi " target =" _blank " >
15
12
<img src="https://img.shields.io/codecov/c/github/tiangolo/fastapi?color=%2334D058" alt="Coverage">
16
13
</a >
Original file line number Diff line number Diff line change 8
8
<a href =" https://github.com/tiangolo/fastapi/actions?query=workflow%3ATest " target =" _blank " >
9
9
<img src="https://github.com/tiangolo/fastapi/workflows/Test/badge.svg" alt="Test">
10
10
</a >
11
- <a href =" https://github.com/tiangolo/fastapi/actions?query=workflow%3APublish " target =" _blank " >
12
- <img src="https://github.com/tiangolo/fastapi/workflows/Publish/badge.svg" alt="Publish">
13
- </a >
14
11
<a href =" https://codecov.io/gh/tiangolo/fastapi " target =" _blank " >
15
12
<img src="https://img.shields.io/codecov/c/github/tiangolo/fastapi?color=%2334D058" alt="Coverage">
16
13
</a >
Original file line number Diff line number Diff line change 8
8
<a href =" https://github.com/tiangolo/fastapi/actions?query=workflow%3ATest " target =" _blank " >
9
9
<img src="https://github.com/tiangolo/fastapi/workflows/Test/badge.svg" alt="Test">
10
10
</a >
11
- <a href =" https://github.com/tiangolo/fastapi/actions?query=workflow%3APublish " target =" _blank " >
12
- <img src="https://github.com/tiangolo/fastapi/workflows/Publish/badge.svg" alt="Publish">
13
- </a >
14
11
<a href =" https://codecov.io/gh/tiangolo/fastapi " target =" _blank " >
15
12
<img src="https://img.shields.io/codecov/c/github/tiangolo/fastapi?color=%2334D058" alt="Coverage">
16
13
</a >
Original file line number Diff line number Diff line change 8
8
<a href =" https://github.com/tiangolo/fastapi/actions?query=workflow%3ATest " target =" _blank " >
9
9
<img src="https://github.com/tiangolo/fastapi/workflows/Test/badge.svg" alt="Test">
10
10
</a >
11
- <a href =" https://github.com/tiangolo/fastapi/actions?query=workflow%3APublish " target =" _blank " >
12
- <img src="https://github.com/tiangolo/fastapi/workflows/Publish/badge.svg" alt="Publish">
13
- </a >
14
11
<a href =" https://codecov.io/gh/tiangolo/fastapi " target =" _blank " >
15
12
<img src="https://img.shields.io/codecov/c/github/tiangolo/fastapi?color=%2334D058" alt="Coverage">
16
13
</a >
Original file line number Diff line number Diff line change 8
8
<a href =" https://github.com/tiangolo/fastapi/actions?query=workflow%3ATest " target =" _blank " >
9
9
<img src="https://github.com/tiangolo/fastapi/workflows/Test/badge.svg" alt="Test">
10
10
</a >
11
- <a href =" https://github.com/tiangolo/fastapi/actions?query=workflow%3APublish " target =" _blank " >
12
- <img src="https://github.com/tiangolo/fastapi/workflows/Publish/badge.svg" alt="Publish">
13
- </a >
14
11
<a href =" https://codecov.io/gh/tiangolo/fastapi " target =" _blank " >
15
12
<img src="https://img.shields.io/codecov/c/github/tiangolo/fastapi?color=%2334D058" alt="Coverage">
16
13
</a >
You can’t perform that action at this time.
0 commit comments