-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Environment variable returns None #123
Comments
I am using the variable inside
When I set the same secret on my local machine, everything worked fine but on the production docs it is not working. |
on the documentation website the following appears:
|
and when I add the change-log url it refers to same page: https://nuclear-multimessenger-astronomy.github.io/nmma/changelog.html |
Found the solution for this: Refer here: |
Yes, the environment variable needs to be set at the step where the doc is built, otherwise it's not found when building. That said, the error should look nicer. |
This is not useful, the value of the token is by default the value of the |
Turns out it was a bug due to the lib not handling correctly the case where there's no token and no changelog-url. Fixed in #124. |
Thanks, I realised I was not using variable at the correct place in the yml. This is mainly due to my novice knowledge in CI/CD. |
Yeah, but your report led to fixing a real bug in the lib, so congratulations :) |
I added the environment variable to the repo however while deploying the pages, the following error occurs.
The text was updated successfully, but these errors were encountered: