5 ms·
I scanned through, but I couldn't see how GitHub Actions supports deployment to 3rd party platforms like PyPI. Travis CI has a CLI that allows you to encrypt y
by umvi 7y ago
I scanned through, but I couldn't see how GitHub Actions supports deployment to 3rd party platforms like PyPI.
Travis CI has a CLI that allows you to encrypt your PyPI password and stick it into the Yaml file (I think it works by encrypting your password and then uploading the decryption key to your Travis account). Will GitHub Actions have something similar, somehow?
- djm_ 7y agoI'd imagine it'll be handled the same way as Actions handles it now: via Secrets [1]. [1] https://developer.github.com/actions/managing-workflows/storing-secrets/ https://developer.github.com/actions/managing-workflows/stor...
- dzader 7y agoyeah they mentioned this in the video at one point I believe, have a separate secrets section where you can store keys and access them from actions
- orta 7y agoYep - they have a secret access store per repo
- fendy3002 7y agoIn gitlab there is secured variable setting in each repo, that can be used with variable syntax. Maybe they'll follow that?
- srmatto 7y agoGitHub Actions supports secrets in each Repo. So presumably you could just expand your secrets at runtime and use a CLI tool to push to PyPI.