openfisca / country-template

Start modelling the tax and benefit system of your country in a few minutes.
https://legislation.demo.openfisca.org
GNU Affero General Public License v3.0
31 stars 15 forks source link

Deploy using Trusted Publishers and native GitHub Actions #151

Open MattiSG opened 4 months ago

MattiSG commented 4 months ago

We currently deploy using PYPI_TOKEN. A more secure alternative is the use of Trusted Publishers, which would also enable using pypa/gh-action-pypi-publish@release.

This however entails identifying an alternative to checking if PYPI_TOKEN is defined as a way to activate continuous deployment, as was introduced in #147.