action-doctl icon indicating copy to clipboard operation
action-doctl copied to clipboard

Error during doctl installation in github actions

Open jparas2 opened this issue 1 year ago • 1 comments

I encountered an error while using the doctl installer in my CI/CD pipeline. The process fails with an authentication error, preventing the successful execution of subsequent tasks. The token used was valid previously but seems to be failing now

Screenshot 2024-10-01 154413

jparas2 avatar Oct 01 '24 10:10 jparas2

Hi there,

Just a quick reminder that some tokens have an expiration time. Could you check if yours is still valid? Just hop over to DigitalOcean, and in the left menu, click on "API." That’ll take you to the Applications & API page where you can find the Tokens tab.

If you’d like to test if the token works, here are some curl commands you can try: DigitalOcean API Example Usage.

If you find that the token has expired, you’ll need to create a new one. You can follow these instructions: Create Personal Access Token.

Let us know if this helps!

loosla avatar Oct 01 '24 13:10 loosla