Skip to content

Commit 5168e96

Browse files
committed
fix docs upload to aws
1 parent 50c52fc commit 5168e96

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,11 @@ jobs:
201201
with:
202202
name: docs
203203
path: _build/latex
204+
- name: Zip stubs
205+
if: >-
206+
(github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit') ||
207+
(github.event_name == 'release' && (github.event.action == 'published' || github.event.action == 'rerequested'))
208+
run: zip -9r circuitpython-stubs.zip circuitpython-stubs
204209
- name: Upload to S3
205210
uses: ./.github/actions/upload_aws
206211
with:

0 commit comments

Comments
 (0)