We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8e599a commit 6a48c69Copy full SHA for 6a48c69
.github/workflows/build.yml
@@ -127,7 +127,7 @@ jobs:
127
[ -z "$AWS_ACCESS_KEY_ID" ] || aws s3 cp circuitpython-stubs/dist/*.tar.gz s3://adafruit-circuit-python/bin/stubs/circuitpython-stubs-${{ env.CP_VERSION }}.zip --no-progress --region us-east-1
128
129
- name: Upload stubs to PyPi
130
- if: github.event_name == 'push'
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main' && github.repository_owner == 'adafruit'
131
env:
132
TWINE_USERNAME: ${{ secrets.pypi_username }}
133
TWINE_PASSWORD: ${{ secrets.pypi_password }}
0 commit comments