-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Secrets are randomly / or on pull request not set. #2605
Comments
hey there, per our issue template, we provide end-user support at discourse.drone.io and at gitter.im/drone/drone. Thanks! edit we also provide a guide that you can use to debug, which also lists the required information you will need to provide to get support (at the top of the document): |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hey,
I am experiencing random failures in my build because a secret is not set as an environment variable.
My setup is as follows:
I have a drone server on a low power machine, which should build my node projects
and then publish them to NPM.
The projects are hosted in a private gitea server, and the drone server waits for events from this.
The .core.yml looks as follows:
In the install step I get:
This implies that the environment variable NPM_TOKEN is not set.
This does not necessary happen randomly. It always happens when I open a pull request.
Thus always when the build says something like "Pfeifenjoy opened pull request #16 to master".
Otherwise it works.
The text was updated successfully, but these errors were encountered: