aai-institute / pyDVL

pyDVL is a library of stable implementations of algorithms for data valuation and influence function computation
https://pydvl.org
GNU Lesser General Public License v3.0
100 stars 8 forks source link

Update publish.yaml #422

Closed AnesBenmerzoug closed 1 year ago

AnesBenmerzoug commented 1 year ago

Description

This PR adds missing env variables to the publish CI job that prevented pushing new docs.

Hopefully with this fix we can trigger the deployment of a new PyPI package using the develop branch's CI file.

Changes

Checklist

mdbenito commented 1 year ago

Sorry, I’m lost here. Why is that env var necessary and what problem are we trying to solve?

AnesBenmerzoug commented 1 year ago

Those 2 env vars represent the Github Bot user. They are used when pushing a new version of the docs to the gh-pages branch and since they were missing it was always failing. I didn't notice it before because they were just passed as empty strings (default for undefined env vars).